You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
- - include_role:
- name: service
- vars:
- service_name: icinga2
-
- - debug:
- var: monitoring_host
-
- - name: add host monitoring
- template:
- src: host.conf.j2
- dest: "/etc/icinga2/conf.d/hosts/{{ item }}.conf"
- with_items:
- - "{{ monitoring_host }}"
- notify: reload icinga2
|