Skip to content

Commit

Permalink
add default variable for service
Browse files Browse the repository at this point in the history
  • Loading branch information
mkayontour committed Aug 17, 2023
1 parent 80a4669 commit 3b0547f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions roles/icingaweb2/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
icingaweb2_config_dir: /etc/icingaweb2
icingaweb2_group: icingaweb2
icingaweb2_modules_config_dir: "{{ icingaweb2_config_dir }}/modules"
icingaweb2_director_service: icinga-director.service

icingaweb2_groups:
icingaweb2:
Expand Down
2 changes: 1 addition & 1 deletion roles/icingaweb2/tasks/modules/director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,6 @@

- name: Module Director | Ensure daemon is running
ansible.builtin.service:
name: icinga-director.service
name: "{{ icingaweb2_director_service }}"
state: started
enabled: yes

0 comments on commit 3b0547f

Please sign in to comment.