mirror of
https://github.com/trailofbits/algo.git
synced 2025-06-06 15:13:56 +02:00
Merge pull request #32 from vxr/pythonfix
Fixes issue with setup module failing
This commit is contained in:
commit
61401b2624
1 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@
|
|||
- name: Common tools
|
||||
hosts: vpn-host
|
||||
remote_user: root
|
||||
gather_facts: false
|
||||
vars_files:
|
||||
- config.cfg
|
||||
|
||||
|
@ -15,10 +16,13 @@
|
|||
|
||||
- name: Install python2.7 for Ansible
|
||||
raw: apt-get install -qq -y python2.7
|
||||
|
||||
- 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
|
||||
|
|
Loading…
Add table
Reference in a new issue