mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 10:40:22 -07:00
Fix junos_config backup testcase (#56148)
* For junos_config taking backup of running configuration does not required priviledge escalation.
This commit is contained in:
parent
6b474a1ecd
commit
ec56ea4514
1 changed files with 0 additions and 3 deletions
|
@ -59,7 +59,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:
|
||||||
|
@ -81,7 +80,6 @@
|
||||||
backup: yes
|
backup: yes
|
||||||
backup_options:
|
backup_options:
|
||||||
filename: backup.cfg
|
filename: backup.cfg
|
||||||
become: yes
|
|
||||||
register: result
|
register: result
|
||||||
|
|
||||||
- assert:
|
- assert:
|
||||||
|
@ -103,7 +101,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…
Add table
Add a link
Reference in a new issue