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: - assert:
that: that:
- 'result.changed == true' - 'result.changed == true'
- '"username" in result.commands' - '"username" in result.commands[0]'
- '"secret" in result.commands' - '"secret" in result.commands[0]'
- name: Collection of users (SetUp) - name: Collection of users (SetUp)
iosxr_user: iosxr_user: