Fix cli_config junos integration test failures (#56159)
* Priviledge escalation is not required for junos cli_config backup opeation.
This commit is contained in:
parent
f79b6b06f1
commit
ae373d5a10
2 changed files with 0 additions and 6 deletions
|
@ -24,7 +24,6 @@
|
|||
- name: take config backup
|
||||
cli_config:
|
||||
backup: yes
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -48,7 +47,6 @@
|
|||
backup_options:
|
||||
filename: backup.cfg
|
||||
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -70,7 +68,6 @@
|
|||
backup: yes
|
||||
backup_options:
|
||||
filename: backup.cfg
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
@ -92,7 +89,6 @@
|
|||
backup: yes
|
||||
backup_options:
|
||||
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
|
|
@ -4,12 +4,10 @@
|
|||
- name: setup
|
||||
cli_config: &rm1
|
||||
config: delete interfaces ge-0/0/1
|
||||
become: yes
|
||||
|
||||
- name: setup
|
||||
cli_config: &rm2
|
||||
config: delete interfaces ge-0/0/2
|
||||
become: yes
|
||||
|
||||
- name: configure device with config
|
||||
cli_config: &conf1
|
||||
|
|
Loading…
Reference in a new issue