diff options
Diffstat (limited to 'tests/integration/targets/vyos_route_maps')
6 files changed, 5 insertions, 12 deletions
diff --git a/tests/integration/targets/vyos_route_maps/tests/cli/gathered.yaml b/tests/integration/targets/vyos_route_maps/tests/cli/gathered.yaml index b73fe23..356e975 100644 --- a/tests/integration/targets/vyos_route_maps/tests/cli/gathered.yaml +++ b/tests/integration/targets/vyos_route_maps/tests/cli/gathered.yaml @@ -14,8 +14,7 @@ vyos.vyos.vyos_route_maps: state: gathered - - become: true - vyos.vyos.vyos_facts: + - vyos.vyos.vyos_facts: gather_network_resources: route_maps - assert: diff --git a/tests/integration/targets/vyos_route_maps/tests/cli/merged.yaml b/tests/integration/targets/vyos_route_maps/tests/cli/merged.yaml index 4b5ad4c..d679800 100644 --- a/tests/integration/targets/vyos_route_maps/tests/cli/merged.yaml +++ b/tests/integration/targets/vyos_route_maps/tests/cli/merged.yaml @@ -33,8 +33,7 @@ weight: 4 state: merged - - become: true - vyos.vyos.vyos_facts: + - vyos.vyos.vyos_facts: gather_network_resources: route_maps - assert: diff --git a/tests/integration/targets/vyos_route_maps/tests/cli/overridden.yaml b/tests/integration/targets/vyos_route_maps/tests/cli/overridden.yaml index f014cf1..76971d6 100644 --- a/tests/integration/targets/vyos_route_maps/tests/cli/overridden.yaml +++ b/tests/integration/targets/vyos_route_maps/tests/cli/overridden.yaml @@ -30,8 +30,7 @@ weight: 4 state: overridden - - become: true - vyos.vyos.vyos_facts: + - vyos.vyos.vyos_facts: gather_network_resources: route_maps - assert: diff --git a/tests/integration/targets/vyos_route_maps/tests/cli/parsed.yaml b/tests/integration/targets/vyos_route_maps/tests/cli/parsed.yaml index 47cb4cc..ee76852 100644 --- a/tests/integration/targets/vyos_route_maps/tests/cli/parsed.yaml +++ b/tests/integration/targets/vyos_route_maps/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_route_maps: running_config: "{{ lookup('file', '_parsed.cfg') }}" diff --git a/tests/integration/targets/vyos_route_maps/tests/cli/replaced.yaml b/tests/integration/targets/vyos_route_maps/tests/cli/replaced.yaml index 893f563..fa0380b 100644 --- a/tests/integration/targets/vyos_route_maps/tests/cli/replaced.yaml +++ b/tests/integration/targets/vyos_route_maps/tests/cli/replaced.yaml @@ -29,8 +29,7 @@ weight: 4 state: replaced - - become: true - vyos.vyos.vyos_facts: + - vyos.vyos.vyos_facts: gather_network_resources: route_maps - assert: diff --git a/tests/integration/targets/vyos_route_maps/tests/cli/rtt.yaml b/tests/integration/targets/vyos_route_maps/tests/cli/rtt.yaml index 5c54c23..6b1616b 100644 --- a/tests/integration/targets/vyos_route_maps/tests/cli/rtt.yaml +++ b/tests/integration/targets/vyos_route_maps/tests/cli/rtt.yaml @@ -33,8 +33,7 @@ weight: 4 state: merged - - become: true - vyos.vyos.vyos_facts: + - vyos.vyos.vyos_facts: gather_network_resources: route_maps - assert: @@ -65,7 +64,6 @@ weight: 4 - name: Revert back to base config using facts round trip - become: true register: revert vyos.vyos.vyos_route_maps: config: "{{ ansible_facts['network_resources']['route_maps'] }}" |