Merge pull request #32 from vxr/pythonfix

Fixes issue with setup module failing
pull/31/head
Evgeniy Ivanov 8 years ago committed by GitHub
commit 61401b2624

@ -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…
Cancel
Save