summaryrefslogtreecommitdiff
path: root/tests/integration/targets/vyos_user
diff options
context:
space:
mode:
authorCaptTrews <capttrews@gmail.com>2019-12-04 00:26:13 +0000
committerCaptTrews <capttrews@gmail.com>2019-12-04 00:26:13 +0000
commitf4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba (patch)
tree133958d96ff13a3df7bae53742d138ac9bfd2884 /tests/integration/targets/vyos_user
parentdf640eaacf60e82e6cf6f8b10236894eef1cc8ce (diff)
downloadvyos.vyos-f4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba.tar.gz
vyos.vyos-f4fff0b4a4ecd2e634f4dcb515bf92c20d3771ba.zip
Updated from network content collector
Signed-off-by: CaptTrews <capttrews@gmail.com>
Diffstat (limited to 'tests/integration/targets/vyos_user')
-rw-r--r--tests/integration/targets/vyos_user/tasks/main.yaml2
-rw-r--r--tests/integration/targets/vyos_user/tests/cli/auth.yaml12
2 files changed, 7 insertions, 7 deletions
diff --git a/tests/integration/targets/vyos_user/tasks/main.yaml b/tests/integration/targets/vyos_user/tasks/main.yaml
index 415c99d8..d4cf26fc 100644
--- a/tests/integration/targets/vyos_user/tasks/main.yaml
+++ b/tests/integration/targets/vyos_user/tasks/main.yaml
@@ -1,2 +1,2 @@
---
-- { include: cli.yaml, tags: ['cli'] }
+- {include: cli.yaml, tags: ['cli']}
diff --git a/tests/integration/targets/vyos_user/tests/cli/auth.yaml b/tests/integration/targets/vyos_user/tests/cli/auth.yaml
index 566191ee..bbd67bcb 100644
--- a/tests/integration/targets/vyos_user/tests/cli/auth.yaml
+++ b/tests/integration/targets/vyos_user/tests/cli/auth.yaml
@@ -18,7 +18,7 @@
command: "ssh auth_user@{{ ansible_ssh_host }} -p {{ ansible_port | default(22) }} -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no '/opt/vyatta/sbin/vyatta-cfg-cmd-wrapper show version'"
responses:
(?i)password: "badpass"
- ignore_errors: yes
+ ignore_errors: true
register: results
- name: check that attempt failed
@@ -27,8 +27,8 @@
- results.failed
always:
- - name: delete user
- vyos.vyos.vyos_user:
- name: auth_user
- state: absent
- register: result
+ - name: delete user
+ vyos.vyos.vyos_user:
+ name: auth_user
+ state: absent
+ register: result