Skip to content

Commit

Permalink
fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
suhancz committed Feb 28, 2024
1 parent 61cc2a4 commit c421647
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tasks/add_kolab_domain.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@
register: kolab_domain_update
failed_when: kolab_domain_update.json.status != 'OK'
changed_when: kolab_domain_update.json.status == 'OK'
loop: "{{ kolab_domains.json.result.list | dict2items }}"
loop_control:
loop_var: current_kolab_domain
- name: "Add Kolab domain {{ kolab_domain }}"
Expand All @@ -69,6 +70,3 @@
register: kolab_domain_add
failed_when: kolab_domain_add.json.status != 'OK'
changed_when: kolab_domain_add.json.status == 'OK'
loop: kolab_domains.json.result.list | dict2items
loop_control:
loop_var: current_kolab_domain

0 comments on commit c421647

Please sign in to comment.