Update README-topology.md: Fix exmple for list of topology segments

This commit is contained in:
Thomas Woerner
2019-07-11 21:57:05 +02:00
committed by GitHub
parent a5c43d3fed
commit 64775884b2

View File

@@ -116,7 +116,7 @@ Example playbook to verify a topology suffix:
state: verified state: verified
``` ```
Example playbook to add a list of topology segments: Example playbook to add or remove or check or reinitialize a list of topology segments:
```yaml ```yaml
--- ---
@@ -141,10 +141,10 @@ Example playbook to add a list of topology segments:
name: "{{ item.name | default(omit) }}" name: "{{ item.name | default(omit) }}"
left: "{{ item.left }}" left: "{{ item.left }}"
right: "{{ item.right }}" right: "{{ item.right }}"
#state: present state: present
#state: absent #state: absent
#state: checked #state: checked
state: reinitialized #state: reinitialized
loop: "{{ ipatopology_segments | default([]) }}" loop: "{{ ipatopology_segments | default([]) }}"
``` ```