summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Nalawade <ganesh634@gmail.com>2019-05-06 18:24:13 -0400
committerGitHub <noreply@github.com>2019-05-06 18:24:13 -0400
commitec56ea4514fcd5066dda183069b96203ed7dcb4a (patch)
tree8f2f30333f3a3ee02c0820b9a9f307a68a2b5fdd
parent6b474a1ecdfd3c9fb72fa8b3ada98ff58fdd1681 (diff)
downloadansible-ec56ea4514fcd5066dda183069b96203ed7dcb4a.tar.gz
Fix junos_config backup testcase (#56148)
* For junos_config taking backup of running configuration does not required priviledge escalation.
-rw-r--r--test/integration/targets/junos_config/tests/netconf/backup.yaml3
1 files changed, 0 insertions, 3 deletions
diff --git a/test/integration/targets/junos_config/tests/netconf/backup.yaml b/test/integration/targets/junos_config/tests/netconf/backup.yaml
index 9f9bbcfb85..a0d6bf9efe 100644
--- a/test/integration/targets/junos_config/tests/netconf/backup.yaml
+++ b/test/integration/targets/junos_config/tests/netconf/backup.yaml
@@ -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: