From 9f2d58f7b45249775b3a3f05684e2cbfd623a2d9 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Wed, 12 Jul 2017 10:38:25 +0200 Subject: [PATCH] Fix eos_config config test (#26679) We needed to re-register show-running config before doing the idempotency test. --- test/integration/targets/eos_config/tests/cli/config.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/integration/targets/eos_config/tests/cli/config.yaml b/test/integration/targets/eos_config/tests/cli/config.yaml index e72dab0e00..c84decc6af 100644 --- a/test/integration/targets/eos_config/tests/cli/config.yaml +++ b/test/integration/targets/eos_config/tests/cli/config.yaml @@ -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