diff --git a/common.yml b/common.yml index f072c03..e387a62 100644 --- a/common.yml +++ b/common.yml @@ -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