gathering facts for vhost_update so we choose yum/dnf
This commit is contained in:
parent
aef03726b0
commit
7afd3ec23d
1 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
||||||
|
|
||||||
- name: update the system
|
- name: update the system
|
||||||
hosts: "{{ target }}:myvms_new"
|
hosts: "{{ target }}:myvms_new"
|
||||||
gather_facts: False
|
gather_facts: True
|
||||||
user: root
|
user: root
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
@ -62,7 +62,7 @@
|
||||||
command: /usr/bin/test -f /usr/bin/rkhunter
|
command: /usr/bin/test -f /usr/bin/rkhunter
|
||||||
register: rkhunter
|
register: rkhunter
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: run rkhunter --propupd
|
- name: run rkhunter --propupd
|
||||||
command: /usr/bin/rkhunter --propupd
|
command: /usr/bin/rkhunter --propupd
|
||||||
when: rkhunter|success
|
when: rkhunter|success
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue