Assert vyos_user commands output against first element of array (#26233)

This commit is contained in:
Ricardo Carrillo Cruz 2017-06-29 13:51:13 +02:00 committed by GitHub
parent c8ba8bdd6d
commit 8a1cd05fdc

View file

@ -10,8 +10,8 @@
- assert: - assert:
that: that:
- 'result.changed == true' - 'result.changed == true'
- '"set system login user" in result.commands' - '"set system login user" in result.commands[0]'
- '"authentication plaintext-password" in result.commands' - '"authentication plaintext-password" in result.commands[0]'
- name: Collection of users (SetUp) - name: Collection of users (SetUp)
vyos_user: vyos_user: