mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix eos_config config test (#26679)
We needed to re-register show-running config before doing the idempotency test.
This commit is contained in:
parent
4006b5d18f
commit
9f2d58f7b4
1 changed files with 6 additions and 0 deletions
|
@ -25,6 +25,12 @@
|
||||||
- "result.changed == true"
|
- "result.changed == true"
|
||||||
- "'hostname foo' in result.updates"
|
- "'hostname foo' in result.updates"
|
||||||
|
|
||||||
|
- name: get current running-config
|
||||||
|
eos_command:
|
||||||
|
commands: show running-config
|
||||||
|
provider: "{{ cli }}"
|
||||||
|
register: config
|
||||||
|
|
||||||
- name: configure hostname again
|
- name: configure hostname again
|
||||||
eos_config:
|
eos_config:
|
||||||
lines: hostname foo
|
lines: hostname foo
|
||||||
|
|
Loading…
Reference in a new issue