Skip to content

Commit

Permalink
[icinga2] manage permissions on constants.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
mkayontour committed Mar 26, 2024
1 parent 9dc0e5d commit 1e97539
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion roles/icinga2/tasks/configure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@
icinga2_combined_constants: "{{ icinga2_default_constants | combine(icinga2_constants) }}"

- name: set constants in {{ icinga2_config_path + '/constants.conf' }}
template:
ansible.builtin.template:
src: constants.conf.j2
dest: "{{ icinga2_config_path + '/constants.conf' }}"
owner: "{{ icinga2_user }}"
group: "{{ icinga2_group }}"
notify: reload icinga2 service

- name: features
Expand Down

0 comments on commit 1e97539

Please sign in to comment.