Fix junos_config backup testcase (#56148)

* For junos_config taking backup of running configuration
  does not required priviledge escalation.
pull/56149/head
Ganesh Nalawade 6 years ago committed by GitHub
parent 6b474a1ecd
commit ec56ea4514
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save