Moved setup module step

This commit is contained in:
derp 2016-07-31 07:08:59 -04:00
parent ff6ac8b2a3
commit 165e31bf3a

View file

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