Fix for empty peers
This commit is contained in:
parent
658fb95599
commit
a0f0f12b7a
|
@ -15,7 +15,7 @@
|
||||||
mode: u=rwx,g=rx,o=rx
|
mode: u=rwx,g=rx,o=rx
|
||||||
|
|
||||||
- include_tasks: profile-peers.yml
|
- include_tasks: profile-peers.yml
|
||||||
loop: "{{ profile.value.peers |dict2items }}"
|
loop: "{{ profile.value.peers |d({}) |dict2items }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: peer
|
loop_var: peer
|
||||||
register: peer_config
|
register: peer_config
|
||||||
|
|
Reference in New Issue