summaryrefslogtreecommitdiff
path: root/test/integration
diff options
context:
space:
mode:
authorTrishna Guha <trishnaguha17@gmail.com>2017-09-08 19:33:41 +0530
committerGitHub <noreply@github.com>2017-09-08 19:33:41 +0530
commit588bddbc35746d4f0735d3858287fd44f695b082 (patch)
treeb3236e2da489a7c367f6228e5f180a9c8b654233 /test/integration
parent497e6cf405d921f8b18dc01796d48a5fc77261e1 (diff)
downloadansible-588bddbc35746d4f0735d3858287fd44f695b082.tar.gz
nxos_banner CI fix (#29134)
Signed-off-by: Trishna Guha <trishnaguha17@gmail.com>
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/targets/nxos_banner/tests/common/basic-no-exec.yaml16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/integration/targets/nxos_banner/tests/common/basic-no-exec.yaml b/test/integration/targets/nxos_banner/tests/common/basic-no-exec.yaml
index da7ee1999a..b7c9fbfc99 100644
--- a/test/integration/targets/nxos_banner/tests/common/basic-no-exec.yaml
+++ b/test/integration/targets/nxos_banner/tests/common/basic-no-exec.yaml
@@ -1,16 +1,16 @@
---
- name: Setup
nxos_banner:
- banner: exec
+ banner: motd
text: |
- Junk exec banner
+ Junk motd banner
over multiple lines
state: present
provider: "{{ connection }}"
-- name: remove exec
- nxos_banner: &rm-exec
- banner: exec
+- name: remove motd
+ nxos_banner: &rm-motd
+ banner: motd
state: absent
provider: "{{ connection }}"
register: result
@@ -18,10 +18,10 @@
- assert:
that:
- "result.changed == true"
- - "'no banner exec' in result.commands"
+ - "'no banner motd' in result.commands"
-- name: remove exec (idempotent)
- nxos_banner: *rm-exec
+- name: remove motd (idempotent)
+ nxos_banner: *rm-motd
register: result
- assert: