Assert vyos_user commands output against first element of array (#26233)
This commit is contained in:
parent
c8ba8bdd6d
commit
8a1cd05fdc
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue