diff options
Diffstat (limited to 'test/integration/targets/nxos_aaa_server_host/tests/common')
-rw-r--r-- | test/integration/targets/nxos_aaa_server_host/tests/common/radius.yaml | 8 | ||||
-rw-r--r-- | test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/test/integration/targets/nxos_aaa_server_host/tests/common/radius.yaml b/test/integration/targets/nxos_aaa_server_host/tests/common/radius.yaml index b588429fbf..c00a43a4b1 100644 --- a/test/integration/targets/nxos_aaa_server_host/tests/common/radius.yaml +++ b/test/integration/targets/nxos_aaa_server_host/tests/common/radius.yaml @@ -7,6 +7,7 @@ nxos_aaa_server_host: &remove server_type: radius address: 8.8.8.8 + provider: "{{ connection }}" state: absent ignore_errors: yes @@ -15,6 +16,7 @@ nxos_aaa_server_host: &configure_default_radius server_type: radius address: 8.8.8.8 + provider: "{{ connection }}" state: present register: result @@ -49,6 +51,7 @@ host_timeout: 25 auth_port: 2083 acct_port: 2084 + provider: "{{ connection }}" state: present register: result @@ -67,6 +70,7 @@ host_timeout: default auth_port: 1000 acct_port: default + provider: "{{ connection }}" state: present register: result @@ -87,6 +91,7 @@ acct_port: 2084 encrypt_type: 0 key: hello + provider: "{{ connection }}" state: present register: result @@ -113,6 +118,7 @@ acct_port: 2084 encrypt_type: 7 key: hello + provider: "{{ connection }}" state: present register: result @@ -133,6 +139,7 @@ acct_port: default encrypt_type: 7 key: default + provider: "{{ connection }}" state: present register: result @@ -152,6 +159,7 @@ auth_port: default acct_port: default key: default + provider: "{{ connection }}" state: present register: result diff --git a/test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml b/test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml index 8fc21ea6c1..c5ca89785a 100644 --- a/test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml +++ b/test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml @@ -6,12 +6,14 @@ - name: "Enable feature tacacs+" nxos_feature: feature: tacacs+ + provider: "{{ connection }}" state: enabled - name: "Setup" nxos_aaa_server_host: &remove server_type: tacacs address: 8.8.8.8 + provider: "{{ connection }}" state: absent ignore_errors: yes @@ -21,6 +23,7 @@ nxos_aaa_server_host: &configure_default_tacacs server_type: tacacs address: 8.8.8.8 + provider: "{{ connection }}" state: present register: result @@ -54,6 +57,7 @@ address: 8.8.8.8 host_timeout: 25 tacacs_port: 89 + provider: "{{ connection }}" state: present register: result @@ -71,6 +75,7 @@ address: 8.8.8.8 host_timeout: default tacacs_port: 100 + provider: "{{ connection }}" state: present register: result @@ -90,6 +95,7 @@ tacacs_port: default encrypt_type: 0 key: hello + provider: "{{ connection }}" state: present register: result @@ -115,6 +121,7 @@ tacacs_port: 89 encrypt_type: 7 key: hello + provider: "{{ connection }}" state: present register: result @@ -134,6 +141,7 @@ tacacs_port: 89 encrypt_type: 7 key: default + provider: "{{ connection }}" state: present register: result @@ -152,6 +160,7 @@ host_timeout: default tacacs_port: default key: default + provider: "{{ connection }}" state: present register: result @@ -176,6 +185,7 @@ - name: "Disable feature tacacs+" nxos_feature: feature: tacacs+ + provider: "{{ connection }}" state: disabled - debug: msg="END connection={{ ansible_connection }} nxos_aaa_server_host tacacs.yaml sanity test" |