You've already forked role-check-mk-agent
Added second package check
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
- name: Gather facts of packages
|
||||
package_facts:
|
||||
manager: "auto"
|
||||
|
||||
|
||||
- name: Ensure check_mk_agent installed (again)
|
||||
package:
|
||||
name: "{{ cmk_rpm_agent }}{{ cmk_auth }}"
|
||||
@@ -18,6 +18,10 @@
|
||||
- restart xinetd
|
||||
- ensure firewall open
|
||||
when: "'check-mk-agent' not in ansible_facts.packages"
|
||||
|
||||
- name: Gather facts of packages (again)
|
||||
package_facts:
|
||||
manager: "auto"
|
||||
|
||||
- name: Register with CheckMK Update Server (retry)
|
||||
shell: |
|
||||
|
||||
Reference in New Issue
Block a user