summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_bgp_global
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/targets/vyos_bgp_global')
-rw-r--r--tests/integration/targets/vyos_bgp_global/tests/cli/deleted.yaml3
-rw-r--r--tests/integration/targets/vyos_bgp_global/tests/cli/gathered.yaml3
-rw-r--r--tests/integration/targets/vyos_bgp_global/tests/cli/merged.yaml3
-rw-r--r--tests/integration/targets/vyos_bgp_global/tests/cli/parsed.yaml1
-rw-r--r--tests/integration/targets/vyos_bgp_global/tests/cli/purged.yaml3
-rw-r--r--tests/integration/targets/vyos_bgp_global/tests/cli/replaced.yaml3
6 files changed, 5 insertions, 11 deletions
diff --git a/tests/integration/targets/vyos_bgp_global/tests/cli/deleted.yaml b/tests/integration/targets/vyos_bgp_global/tests/cli/deleted.yaml
index e1a7754..9c7400e 100644
--- a/tests/integration/targets/vyos_bgp_global/tests/cli/deleted.yaml
+++ b/tests/integration/targets/vyos_bgp_global/tests/cli/deleted.yaml
@@ -16,8 +16,7 @@
as_number: "65536"
state: deleted
- - become: true
- vyos.vyos.vyos_facts:
+ - vyos.vyos.vyos_facts:
gather_network_resources: bgp_global
- assert:
diff --git a/tests/integration/targets/vyos_bgp_global/tests/cli/gathered.yaml b/tests/integration/targets/vyos_bgp_global/tests/cli/gathered.yaml
index 7ec1da8..2022533 100644
--- a/tests/integration/targets/vyos_bgp_global/tests/cli/gathered.yaml
+++ b/tests/integration/targets/vyos_bgp_global/tests/cli/gathered.yaml
@@ -14,8 +14,7 @@
vyos.vyos.vyos_bgp_global:
state: gathered
- - become: true
- vyos.vyos.vyos_facts:
+ - vyos.vyos.vyos_facts:
gather_network_resources: bgp_global
- assert:
diff --git a/tests/integration/targets/vyos_bgp_global/tests/cli/merged.yaml b/tests/integration/targets/vyos_bgp_global/tests/cli/merged.yaml
index a398b7e..ce332a0 100644
--- a/tests/integration/targets/vyos_bgp_global/tests/cli/merged.yaml
+++ b/tests/integration/targets/vyos_bgp_global/tests/cli/merged.yaml
@@ -42,8 +42,7 @@
router_id: "192.1.2.9"
state: merged
- - become: true
- vyos.vyos.vyos_facts:
+ - vyos.vyos.vyos_facts:
gather_network_resources: bgp_global
- assert:
diff --git a/tests/integration/targets/vyos_bgp_global/tests/cli/parsed.yaml b/tests/integration/targets/vyos_bgp_global/tests/cli/parsed.yaml
index 419df6a..7c1665f 100644
--- a/tests/integration/targets/vyos_bgp_global/tests/cli/parsed.yaml
+++ b/tests/integration/targets/vyos_bgp_global/tests/cli/parsed.yaml
@@ -4,7 +4,6 @@
}}
- name: Provide the running configuration for parsing (config to be parsed)
- become: true
register: result
vyos.vyos.vyos_bgp_global:
running_config: "{{ lookup('file', '_parsed_config.cfg') }}"
diff --git a/tests/integration/targets/vyos_bgp_global/tests/cli/purged.yaml b/tests/integration/targets/vyos_bgp_global/tests/cli/purged.yaml
index 9588e80..46346c2 100644
--- a/tests/integration/targets/vyos_bgp_global/tests/cli/purged.yaml
+++ b/tests/integration/targets/vyos_bgp_global/tests/cli/purged.yaml
@@ -16,8 +16,7 @@
as_number: "65536"
state: purged
- - become: true
- vyos.vyos.vyos_facts:
+ - vyos.vyos.vyos_facts:
gather_network_resources: bgp_global
- assert:
diff --git a/tests/integration/targets/vyos_bgp_global/tests/cli/replaced.yaml b/tests/integration/targets/vyos_bgp_global/tests/cli/replaced.yaml
index 2a8b407..f1b79b2 100644
--- a/tests/integration/targets/vyos_bgp_global/tests/cli/replaced.yaml
+++ b/tests/integration/targets/vyos_bgp_global/tests/cli/replaced.yaml
@@ -46,8 +46,7 @@
orf: "receive"
state: replaced
- - become: true
- vyos.vyos.vyos_facts:
+ - vyos.vyos.vyos_facts:
gather_network_resources: bgp_global
- assert: