[stable-2.9] fix nxos_config tests for httpapi (#62082)
* fix nxos_config tests for httpapi * Remove become parameter
This commit is contained in:
parent
f582d74f7c
commit
c4894b512d
2 changed files with 0 additions and 9 deletions
|
@ -25,9 +25,3 @@
|
||||||
with_items: "{{ test_items }}"
|
with_items: "{{ test_items }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: test_case_to_run
|
loop_var: test_case_to_run
|
||||||
|
|
||||||
- name: run test cases (connection=local)
|
|
||||||
include: "{{ test_case_to_run }} ansible_connection=local connection={{ nxapi }}"
|
|
||||||
with_items: "{{ test_items }}"
|
|
||||||
loop_control:
|
|
||||||
loop_var: test_case_to_run
|
|
||||||
|
|
|
@ -66,7 +66,6 @@
|
||||||
backup_options:
|
backup_options:
|
||||||
filename: backup.cfg
|
filename: backup.cfg
|
||||||
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
||||||
become: yes
|
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
@ -88,7 +87,6 @@
|
||||||
backup: yes
|
backup: yes
|
||||||
backup_options:
|
backup_options:
|
||||||
filename: backup.cfg
|
filename: backup.cfg
|
||||||
become: yes
|
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
@ -110,7 +108,6 @@
|
||||||
backup: yes
|
backup: yes
|
||||||
backup_options:
|
backup_options:
|
||||||
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
||||||
become: yes
|
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
|
Loading…
Reference in a new issue