Skip to content

Commit 15e75e4

Browse files
authored
Merge pull request #35 from xFuture603/fix-icinga_command.yml
added code in icinga_command.yml to make it work like the other tasks in our role
2 parents dd984ea + f5809c8 commit 15e75e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

roles/ansible_icinga/tasks/icinga_command.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
client_cert: "{{ icinga_client_cert | default(omit) }}"
1313
client_key: "{{ icinga_client_key | default(omit) }}"
1414
state: "{{ command.0.state | default(omit) }}"
15-
command: "{{ command.0 }}"
15+
command: "{{ command.0.command | default(omit) }}"
1616
command_type: "{{ command.0.command_type | default(icinga_command_type) }}"
1717
disabled: "{{ command.0.disabled | default(icinga_command_disabled) }}"
18-
object_name: "{{ command.0 }}"
18+
object_name: "{{ command.1 }}"
1919
imports: "{{ command.0.imports | default(omit) }}"
2020
zone: "{{ command.0.zone | default(omit) }}"
2121
vars: "{{ command.0.vars | default(omit) }}"

0 commit comments

Comments
 (0)