Skip to content

Commit

Permalink
Icingaweb2: fix duplicate task name at kickstart tasks (#244)
Browse files Browse the repository at this point in the history
  • Loading branch information
johanneskastl authored Jan 12, 2024
1 parent fb4c919 commit d0208a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/icingaweb2/tasks/modules/director.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
failed_when: _required.rc|int >= 2
when: vars['icingaweb2_modules']['director']['run_kickstart'] is defined and icingaweb2_modules.director.run_kickstart and vars['icingaweb2_modules']['director']['kickstart'] is defined

- name: Module Director | Check if kickstart is required # noqa: command-instead-of-shell
- name: Module Director | Run kickstart if required # noqa: command-instead-of-shell
ansible.builtin.shell:
cmd: icingacli director kickstart run
when: vars['icingaweb2_modules']['director']['run_kickstart'] is defined and icingaweb2_modules.director.run_kickstart and vars['icingaweb2_modules']['director']['kickstart'] is defined and _required.rc|int == 0
Expand Down

0 comments on commit d0208a5

Please sign in to comment.