mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
Moved setup module step
This commit is contained in:
parent
ff6ac8b2a3
commit
165e31bf3a
1 changed files with 3 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue