Run tasks only when package is installed
This commit is contained in:
parent
4f6b2ddabe
commit
33045b05d1
1 changed files with 1 additions and 0 deletions
|
@ -17,4 +17,5 @@
|
||||||
tags: backup
|
tags: backup
|
||||||
|
|
||||||
- import_tasks: monit.yml
|
- import_tasks: monit.yml
|
||||||
|
when: "'monit' in ansible_facts.packages"
|
||||||
tags: monit
|
tags: monit
|
||||||
|
|
Loading…
Reference in a new issue