Moved setup module step

pull/32/head
derp 8 years ago
parent ff6ac8b2a3
commit 165e31bf3a

@ -17,12 +17,12 @@
- name: Install python2.7 for Ansible - name: Install python2.7 for Ansible
raw: apt-get install -qq -y python2.7 raw: apt-get install -qq -y python2.7
- name: Install Updates, Patches and Additional Security Software
apt: upgrade=dist update_cache=yes
- name: Gather Facts - name: Gather Facts
setup: setup:
- name: Install Updates, Patches and Additional Security Software
apt: upgrade=dist update_cache=yes
- name: Check if reboot is required - name: Check if reboot is required
shell: > shell: >
if [[ $(readlink -f /vmlinuz) != /boot/vmlinuz-$(uname -r) ]]; then echo "required"; else echo "no"; fi if [[ $(readlink -f /vmlinuz) != /boot/vmlinuz-$(uname -r) ]]; then echo "required"; else echo "no"; fi

Loading…
Cancel
Save