mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 01:03:09 +00: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:
@@ -59,7 +59,6 @@
|
||||
backup_options:
|
||||
filename: backup.cfg
|
||||
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
@@ -81,7 +80,6 @@
|
||||
backup: yes
|
||||
backup_options:
|
||||
filename: backup.cfg
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
@@ -103,7 +101,6 @@
|
||||
backup: yes
|
||||
backup_options:
|
||||
dir_path: "{{ role_path }}/backup_test_dir/{{ inventory_hostname_short }}"
|
||||
become: yes
|
||||
register: result
|
||||
|
||||
- assert:
|
||||
|
||||
Reference in New Issue
Block a user