aboutsummaryrefslogtreecommitdiffstats
path: root/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-26 16:03:47 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-03-26 16:06:13 +0100
commit676591091ff3c154193213b26103c694f1a5f1be (patch)
tree12bce87cd541ace6b55fd1cd83a1c73dc527cb2c /tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck
parent314c0c1e45bc6a4c1ae0e7c030ebbf51b80abb35 (diff)
Fix indentation issues within YAMLs
Fixes applied as reported by yamllint. Change-Id: I5320d49799ecdd3ffbc8f9fbb8617554a709c247 Issue-ID: INT-1482 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck')
-rw-r--r--tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml64
1 files changed, 32 insertions, 32 deletions
diff --git a/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml b/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml
index 665619ab..36e36249 100644
--- a/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml
+++ b/tutorials/vFWDT/playbooks/vpgn/latest/ansible/distributetrafficcheck/site.yml
@@ -28,43 +28,43 @@
set_fact:
vserver2_interfaces: "{{destinations[0].vservers[1]['l-interfaces'] | list}}"
- block:
- - name: length interfaces vserver1
- set_fact:
- length1: "{{ vserver1_interfaces |length }}"
- - name: length interfaces vserver2
- set_fact:
- length2: "{{ vserver2_interfaces |length }}"
+ - name: length interfaces vserver1
+ set_fact:
+ length1: "{{ vserver1_interfaces |length }}"
+ - name: length interfaces vserver2
+ set_fact:
+ length2: "{{ vserver2_interfaces |length }}"
- block:
- - name: adress 1 vserver
- set_fact:
- sink_addresses:
- - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - name: adress 2 vserver
- set_fact:
- fw_addresses:
- - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][3]['ipv4-addresses'][0]}}"
+ - name: adress 1 vserver
+ set_fact:
+ sink_addresses:
+ - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - name: adress 2 vserver
+ set_fact:
+ fw_addresses:
+ - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][3]['ipv4-addresses'][0]}}"
when:
- length1 == "3"
- length2 == "4"
- block:
- - name: adress 1 vserver
- set_fact:
- fw_addresses:
- - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[0]['l-interfaces'][3]['ipv4-addresses'][0]}}"
- - name: adress 2 vserver
- set_fact:
- sink_addresses:
- - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
- - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - name: adress 1 vserver
+ set_fact:
+ fw_addresses:
+ - "{{destinations[0].vservers[0]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][2]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[0]['l-interfaces'][3]['ipv4-addresses'][0]}}"
+ - name: adress 2 vserver
+ set_fact:
+ sink_addresses:
+ - "{{destinations[0].vservers[1]['l-interfaces'][0]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][1]['ipv4-addresses'][0]}}"
+ - "{{destinations[0].vservers[1]['l-interfaces'][2]['ipv4-addresses'][0]}}"
when:
- length1 == "4"
- length2 == "3"