diff --git a/playbook.yml b/playbook.yml index 790dddd84dea4d759f43b6f5b4869bcded2a966c..d39e4d0008426bebcd70d7a5bb001e0dd1538bea 100644 --- a/playbook.yml +++ b/playbook.yml @@ -1,6 +1,16 @@ --- - hosts: all + gather_facts: False tasks: + - 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: APT install apt: name: @@ -8,7 +18,6 @@ - nginx - openssl state: present - update_cache: yes - name: Collectd facts collectd_facts: