Skip to content

Commit 5d0ea67

Browse files
committed
Add timeout for Icinga install command
As the Icinga install command might drop to an interactive prompt if some option is malformed, this timeout ensures that Ansible does not idle indefinetely.
1 parent 7b7f9d7 commit 5d0ea67

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

roles/ifw/tasks/configure_icinga2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,6 @@
128128
register: _assertion_result
129129

130130
- name: Set up Icinga
131+
timeout: 300
131132
when: _assertion_result.evaluated_to is defined
132133
ansible.windows.win_shell: "Install-Icinga -InstallCommand \"{{ _install_command }}\""

0 commit comments

Comments
 (0)