Fix junos_config backup testcase (#56148)

* For junos_config taking backup of running configuration
  does not required priviledge escalation.
This commit is contained in:
Ganesh Nalawade 2019-05-06 18:24:13 -04:00 committed by GitHub
parent 6b474a1ecd
commit ec56ea4514
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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: