File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
2- - name : start icinga2-agent
2+ - name : restart icinga2-agent
33 ansible.builtin.service :
44 name : icinga2
55 enabled : true
6- state : started
6+ state : restarted
Original file line number Diff line number Diff line change 3636 with_fileglob :
3737 - " ../templates/configuration/*"
3838 notify :
39- - start icinga2-agent
39+ - restart icinga2-agent
4040
4141- name : copy icinga feature files
4242 ansible.builtin.template :
4848 with_fileglob :
4949 - " ../templates/features/*"
5050 notify :
51- - start icinga2-agent
51+ - restart icinga2-agent
5252
5353- name : copy custom icinga feature files
5454 ansible.builtin.template :
6060 with_fileglob :
6161 - " {{ icinga_agent_custom_features_template_path }}"
6262 notify :
63- - start icinga2-agent
63+ - restart icinga2-agent
6464 when :
6565 - icinga_agent_custom_features_template_path is defined
6666 - icinga_agent_custom_features_template_path | length > 0
112112 args :
113113 creates : " /var/lib/icinga2/certs/ca.crt"
114114 notify :
115- - start icinga2-agent
115+ - restart icinga2-agent
116116 when :
117117 - icinga_agent_registration | bool
118118 - icinga_agent_salt is defined
You can’t perform that action at this time.
0 commit comments