diff --git a/test/integration/targets/junos_config/tests/cli_config/cli_backup.yaml b/test/integration/targets/junos_config/tests/cli_config/cli_backup.yaml index a431c01fdea..1d43ba81985 100644 --- a/test/integration/targets/junos_config/tests/cli_config/cli_backup.yaml +++ b/test/integration/targets/junos_config/tests/cli_config/cli_backup.yaml @@ -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: diff --git a/test/integration/targets/junos_config/tests/cli_config/cli_basic.yaml b/test/integration/targets/junos_config/tests/cli_config/cli_basic.yaml index 4782c87a611..1aa64b68127 100644 --- a/test/integration/targets/junos_config/tests/cli_config/cli_basic.yaml +++ b/test/integration/targets/junos_config/tests/cli_config/cli_basic.yaml @@ -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