diff options
author | Paul Belanger <pabelanger@redhat.com> | 2021-08-11 13:48:13 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-11 17:48:13 +0000 |
commit | 01273758372bfd62c470d9edb3c177fdae87ad9f (patch) | |
tree | 077fb455fbd6258a287ac279f7dacd0b01766b72 /tests/integration/targets/vyos_bgp_global | |
parent | 83bc2db8cd723266eec243ca9330940a553e57a2 (diff) | |
download | vyos.vyos-01273758372bfd62c470d9edb3c177fdae87ad9f.tar.gz vyos.vyos-01273758372bfd62c470d9edb3c177fdae87ad9f.zip |
Drop ansible_become for testing (#199)
Drop ansible_become for testing
We don't actually need escalated permissions to run these things.
Signed-off-by: Paul Belanger pabelanger@redhat.com
Reviewed-by: GomathiselviS <None>
Reviewed-by: Nathaniel Case <this.is@nathanielca.se>
Reviewed-by: None <None>
Diffstat (limited to 'tests/integration/targets/vyos_bgp_global')
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: |