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

pull/27226/head
Ricardo Carrillo Cruz 7 years ago committed by GitHub
parent ad4ecf2a64
commit e9a0411059

@ -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:

Loading…
Cancel
Save