add ${yumcommand} so we can pass in manual excludes
This commit is contained in:
parent
cf1199ac3d
commit
4e44d16b3f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# requires --extra-vars="hostlist='host1 host2 group etc'"
|
||||
# requires --extra-vars="hostlist='host1 host2 group etc' yumcommand=update'"
|
||||
|
||||
- name: update all run rkhunter if installed
|
||||
hosts: $hostlist
|
||||
|
@ -6,7 +6,7 @@
|
|||
|
||||
tasks:
|
||||
- name: yum update
|
||||
action: command yum -y update
|
||||
action: command yum -y ${yumcommand}
|
||||
|
||||
- name: check for rkhunter
|
||||
action: command /usr/bin/test -f /usr/bin/rkhunter
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue