gathering facts for vhost_update so we choose yum/dnf

This commit is contained in:
Tim Flink 2015-10-06 20:34:34 +00:00
parent aef03726b0
commit 7afd3ec23d

View file

@ -23,7 +23,7 @@
- name: update the system
hosts: "{{ target }}:myvms_new"
gather_facts: False
gather_facts: True
user: root
tasks:
@ -62,7 +62,7 @@
command: /usr/bin/test -f /usr/bin/rkhunter
register: rkhunter
ignore_errors: true
- name: run rkhunter --propupd
command: /usr/bin/rkhunter --propupd
when: rkhunter|success