diff options
author | John R Barker <john@johnrbarker.com> | 2017-01-20 20:18:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 20:18:12 +0000 |
commit | a12033a6e0ea280fbd5b3643b640ff39f434553b (patch) | |
tree | 96c3cc393297ef1ad020f6e5e8c040749edda147 /test/integration/targets/ios_template/tests/cli | |
parent | 7330ab8062545478e3b1951c94ae4c98008244ea (diff) | |
download | ansible-a12033a6e0ea280fbd5b3643b640ff39f434553b.tar.gz |
integration/targets/ios_* work to support IOS (#20414)
* WIP
* Don't set connection: network_cli in the playbook
* ios_config tests now passing
* Create test loopback device
* delete
* ios_* pass (apart from ios_facts)
* Remove provider lines
Diffstat (limited to 'test/integration/targets/ios_template/tests/cli')
4 files changed, 0 insertions, 15 deletions
diff --git a/test/integration/targets/ios_template/tests/cli/backup.yaml b/test/integration/targets/ios_template/tests/cli/backup.yaml index df8e521d7d..795d8bf4c0 100644 --- a/test/integration/targets/ios_template/tests/cli/backup.yaml +++ b/test/integration/targets/ios_template/tests/cli/backup.yaml @@ -6,7 +6,6 @@ commands: - no interface Loopback999 match: none - provider: "{{ cli }}" ignore_errors: yes - name: collect any backup files @@ -26,7 +25,6 @@ ios_template: src: basic/config.j2 backup: yes - provider: "{{ cli }}" register: result - assert: @@ -50,6 +48,5 @@ commands: - no interface Loopback999 match: none - provider: "{{ cli }}" - debug: msg="END cli/backup.yaml" diff --git a/test/integration/targets/ios_template/tests/cli/basic.yaml b/test/integration/targets/ios_template/tests/cli/basic.yaml index 2fd9ef0423..4f70933847 100644 --- a/test/integration/targets/ios_template/tests/cli/basic.yaml +++ b/test/integration/targets/ios_template/tests/cli/basic.yaml @@ -6,13 +6,11 @@ commands: - no interface Loopback999 match: none - provider: "{{ cli }}" ignore_errors: yes - name: configure device with config ios_template: src: basic/config.j2 - provider: "{{ cli }}" register: result - assert: @@ -23,7 +21,6 @@ - name: check device with config ios_template: src: basic/config.j2 - provider: "{{ cli }}" register: result - assert: @@ -36,6 +33,5 @@ commands: - no interface Loopback999 match: none - provider: "{{ cli }}" - debug: msg="END cli/basic.yaml" diff --git a/test/integration/targets/ios_template/tests/cli/defaults.yaml b/test/integration/targets/ios_template/tests/cli/defaults.yaml index 95015568cd..bb3c61552c 100644 --- a/test/integration/targets/ios_template/tests/cli/defaults.yaml +++ b/test/integration/targets/ios_template/tests/cli/defaults.yaml @@ -5,14 +5,12 @@ ios_config: commands: no interface Loopback999 match: none - provider: "{{ cli }}" ignore_errors: yes - name: configure device with defaults included ios_template: src: defaults/config.j2 include_defaults: yes - provider: "{{ cli }}" register: result - assert: @@ -24,7 +22,6 @@ ios_template: src: defaults/config.j2 include_defaults: yes - provider: "{{ cli }}" register: result - assert: @@ -36,6 +33,5 @@ ios_config: commands: no interface Loopback999 match: none - provider: "{{ cli }}" - debug: msg="END cli/defaults.yaml" diff --git a/test/integration/targets/ios_template/tests/cli/force.yaml b/test/integration/targets/ios_template/tests/cli/force.yaml index d784fd0f1c..c5b4f6ca04 100644 --- a/test/integration/targets/ios_template/tests/cli/force.yaml +++ b/test/integration/targets/ios_template/tests/cli/force.yaml @@ -6,13 +6,11 @@ commands: - no interface Loopback999 match: none - provider: "{{ cli }}" ignore_errors: yes - name: configure device with config ios_template: src: basic/config.j2 - provider: "{{ cli }}" force: yes register: result @@ -24,7 +22,6 @@ - name: check device with config ios_template: src: basic/config.j2 - provider: "{{ cli }}" force: yes register: result @@ -38,6 +35,5 @@ commands: - no interface Loopback999 match: none - provider: "{{ cli }}" - debug: msg="END cli/force.yaml" |