|
|
@ -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
|
|
|
|