diff options
author | Matt Clay <matt@mystile.com> | 2019-10-15 21:53:51 +0200 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2019-10-15 21:53:51 +0200 |
commit | 20be8693ba4a1c88936e98f3702a409e563c858f (patch) | |
tree | dabf8305cb3060a25e4f59a29c75da15692156b2 /test/integration/targets/eos_vlan/tests | |
parent | Fix warnings for ufw examples (#63505) (diff) | |
download | ansible-20be8693ba4a1c88936e98f3702a409e563c858f.tar.xz ansible-20be8693ba4a1c88936e98f3702a409e563c858f.zip |
Revert "Remove top-level arguments from network modules (#62603)"
This reverts commit d5ac3f7e77c8a0f1115785c6451cb126a68ca44e.
Diffstat (limited to 'test/integration/targets/eos_vlan/tests')
-rw-r--r-- | test/integration/targets/eos_vlan/tests/cli/basic.yaml | 17 | ||||
-rw-r--r-- | test/integration/targets/eos_vlan/tests/cli/net_vlan.yaml | 3 |
2 files changed, 20 insertions, 0 deletions
diff --git a/test/integration/targets/eos_vlan/tests/cli/basic.yaml b/test/integration/targets/eos_vlan/tests/cli/basic.yaml index 11b869d01c..1d1bd97920 100644 --- a/test/integration/targets/eos_vlan/tests/cli/basic.yaml +++ b/test/integration/targets/eos_vlan/tests/cli/basic.yaml @@ -6,6 +6,7 @@ - no vlan 4000 - no vlan 4001 - no vlan 4002 + authorize: yes provider: "{{ cli }}" become: yes @@ -15,6 +16,7 @@ - switchport - no switchport access vlan 4000 parents: interface Ethernet1 + authorize: yes provider: "{{ cli }}" become: yes @@ -24,6 +26,7 @@ - switchport - no switchport access vlan 4000 parents: interface Ethernet2 + authorize: yes provider: "{{ cli }}" become: yes @@ -32,6 +35,7 @@ vlan_id: 4000 name: vlan-4000 state: present + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -49,6 +53,7 @@ vlan_id: 4000 name: vlan-4000 state: present + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -65,6 +70,7 @@ vlan_id: 4000 name: vlan-4000-new state: suspend + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -83,6 +89,7 @@ vlan_id: 4000 name: vlan-4000-new state: suspend + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -98,6 +105,7 @@ eos_vlan: vlan_id: 4000 state: active + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -120,6 +128,7 @@ associated_interfaces: - Ethernet1 - Ethernet2 + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -142,6 +151,7 @@ interfaces: - Ethernet 1 # interface name space scenario - Ethernet 2 # interface name space scenario + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -159,6 +169,7 @@ state: present associated_interfaces: - test + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -174,6 +185,7 @@ state: present interfaces: - Ethernet1 + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -193,6 +205,7 @@ state: present interfaces: - Ethernet 1 # space scenario + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -210,6 +223,7 @@ - {vlan_id: 4000, state: absent} - {vlan_id: 4001, name: vlan-4001} state: present + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -229,6 +243,7 @@ - {vlan_id: 4000, state: absent} - {vlan_id: 4001, name: vlan-4001} state: present + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -247,6 +262,7 @@ name: vlan-4002 state: present purge: yes + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -267,6 +283,7 @@ name: vlan-4002 state: present purge: yes + authorize: yes provider: "{{ cli }}" become: yes register: result diff --git a/test/integration/targets/eos_vlan/tests/cli/net_vlan.yaml b/test/integration/targets/eos_vlan/tests/cli/net_vlan.yaml index 8fcb93b13d..4b8c886d8c 100644 --- a/test/integration/targets/eos_vlan/tests/cli/net_vlan.yaml +++ b/test/integration/targets/eos_vlan/tests/cli/net_vlan.yaml @@ -8,6 +8,7 @@ eos_config: lines: - no vlan 4000 + authorize: yes provider: "{{ cli }}" become: yes @@ -16,6 +17,7 @@ vlan_id: 4000 name: vlan-4000 state: present + authorize: yes provider: "{{ cli }}" become: yes register: result @@ -32,6 +34,7 @@ eos_config: lines: - no vlan 4000 + authorize: yes provider: "{{ cli }}" become: yes |