Skip to content
Snippets Groups Projects
Select Git revision
  • a18cf1d511abfe80e403e5163ee0f54a18b7ccf6
  • master default
2 results

playbook.yml

Blame
  • main.yml 582 B
    ---
    # tasks file for debian-bootstrap
    
    - name: Update APT sources
      raw: DEBIAN_FRONTEND=noninteractive apt-get update
      changed_when: False
    
    - name: APT install Python
      raw: DEBIAN_FRONTEND=noninteractive apt-get install -qy python2.7 python
      register: debian_bootstrap_install_python
      changed_when: "'Unpacking' in debian_bootstrap_install_python.stdout"
    
    - name: Install requirements for more complete facts
      apt:
          name:
              - iproute
              - lsb-release
          state: present
          update_cache: yes
          cache_valid_time: 3600
    
    - name: Gather facts
      setup: