1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Assert username and secret is within first element of results (#27219)

This commit is contained in:
Ricardo Carrillo Cruz 2017-07-24 10:10:47 +02:00 committed by GitHub
parent ad4ecf2a64
commit e9a0411059

View file

@ -10,8 +10,8 @@
- assert:
that:
- 'result.changed == true'
- '"username" in result.commands'
- '"secret" in result.commands'
- '"username" in result.commands[0]'
- '"secret" in result.commands[0]'
- name: Collection of users (SetUp)
iosxr_user: