summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/integration/targets/vyos_firewall_rules/vars/v1_4.yaml47
1 files changed, 19 insertions, 28 deletions
diff --git a/tests/integration/targets/vyos_firewall_rules/vars/v1_4.yaml b/tests/integration/targets/vyos_firewall_rules/vars/v1_4.yaml
index 20ee461b..0df32545 100644
--- a/tests/integration/targets/vyos_firewall_rules/vars/v1_4.yaml
+++ b/tests/integration/targets/vyos_firewall_rules/vars/v1_4.yaml
@@ -160,13 +160,10 @@ replaced_diff_01:
source:
address: 192.0.2.0
state: "{{ state_dict }}"
- diff: |-
- [firewall ipv4 name INBOUND rule 101]
- - action \"accept\"
- + action \"reject\"
-
-
- [edit]
+ diff: "[firewall ipv4 name INBOUND rule 101]\n\
+ - action \"accept\"\n\
+ + action \"reject\"\n\n\n\
+ [edit]"
replaced_diff_02:
config:
@@ -207,15 +204,12 @@ replaced_diff_02:
source:
address: 192.0.2.0
state: "{{ state_dict }}"
- diff: |-
- [firewall ipv4 name INBOUND rule 102]
- - action \"reject\"
- + action \"accept\"
- - protocol \"tcp\"
- + protocol \"udp\"
-
-
- [edit]
+ diff: "[firewall ipv4 name INBOUND rule 102]\n\
+ - action \"reject\"\n\
+ + action \"accept\"\n\
+ - protocol \"tcp\"\n\
+ + protocol \"udp\"\n\n\n\
+ [edit]"
replaced_diff_03:
config:
@@ -256,15 +250,12 @@ replaced_diff_03:
source:
address: 192.0.2.0
state: "{{ state_dict }}"
- diff: |-
- [firewall ipv4 name INBOUND rule 102]
- - protocol \"udp\"
- + protocol \"tcp\"
- [firewall ipv6 name UPLINK rule 1]
- - action \"accept\"
- + action \"reject\"
- - protocol \"tcp\"
- + protocol \"udp\"
-
-
- [edit]
+ diff: "[firewall ipv4 name INBOUND rule 102]\n\
+ - protocol \"udp\"\n\
+ + protocol \"tcp\"\n\
+ [firewall ipv6 name UPLINK rule 1]\n\
+ - action \"accept\"\n\
+ + action \"reject\"\n\
+ - protocol \"tcp\"\n\
+ + protocol \"udp\"\n\n\n\
+ [edit]"