ignore permutation of targets
This commit is contained in:
parent
0da51a9b49
commit
b4a4eda55b
1 changed files with 1 additions and 0 deletions
|
@ -99,6 +99,7 @@
|
||||||
- name: Add the node to the targets
|
- name: Add the node to the targets
|
||||||
set_fact:
|
set_fact:
|
||||||
server_target: "[{{ server_target[0] | combine({'targets': [lan_address]}, list_merge='append_rp') }}]"
|
server_target: "[{{ server_target[0] | combine({'targets': [lan_address]}, list_merge='append_rp') }}]"
|
||||||
|
when: lan_address not in server_target.0.targets
|
||||||
|
|
||||||
- name: Put the new target list
|
- name: Put the new target list
|
||||||
copy:
|
copy:
|
||||||
|
|
Loading…
Reference in a new issue