Fix cli_config junos integration test failures (#56159)

*  Priviledge escalation is not required for junos
   cli_config backup opeation.
This commit is contained in:
Ganesh Nalawade 2019-05-07 06:56:17 -04:00 committed by GitHub
parent f79b6b06f1
commit ae373d5a10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View file

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

View file

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