mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-03 09:13:12 +00: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:
committed by
GitHub
parent
4006b5d18f
commit
9f2d58f7b4
@@ -25,6 +25,12 @@
|
||||
- "result.changed == true"
|
||||
- "'hostname foo' in result.updates"
|
||||
|
||||
- name: get current running-config
|
||||
eos_command:
|
||||
commands: show running-config
|
||||
provider: "{{ cli }}"
|
||||
register: config
|
||||
|
||||
- name: configure hostname again
|
||||
eos_config:
|
||||
lines: hostname foo
|
||||
|
||||
Reference in New Issue
Block a user