mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Assert vyos_user commands output against first element of array (#26233)
This commit is contained in:
committed by
GitHub
parent
c8ba8bdd6d
commit
8a1cd05fdc
@@ -10,8 +10,8 @@
|
||||
- assert:
|
||||
that:
|
||||
- 'result.changed == true'
|
||||
- '"set system login user" in result.commands'
|
||||
- '"authentication plaintext-password" in result.commands'
|
||||
- '"set system login user" in result.commands[0]'
|
||||
- '"authentication plaintext-password" in result.commands[0]'
|
||||
|
||||
- name: Collection of users (SetUp)
|
||||
vyos_user:
|
||||
|
||||
Reference in New Issue
Block a user