summaryrefslogtreecommitdiff
path: root/test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml')
-rw-r--r--test/integration/targets/nxos_aaa_server_host/tests/common/tacacs.yaml10
1 files changed, 10 insertions, 0 deletions
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"