From baa9290d71740909049c8e9642f5998c4269abb5 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Mon, 17 Jul 2017 13:56:32 +0200 Subject: [PATCH] Replace network-admin for network-operator on eos_user collections test (#26891) The 'admin' word was being masked by Ansible as potential cred. Let's just use network-operator since we are just testing here we can create users in aggregate. --- test/integration/targets/eos_user/tests/cli/basic.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/integration/targets/eos_user/tests/cli/basic.yaml b/test/integration/targets/eos_user/tests/cli/basic.yaml index 5d1c636a50..a0d091deee 100644 --- a/test/integration/targets/eos_user/tests/cli/basic.yaml +++ b/test/integration/targets/eos_user/tests/cli/basic.yaml @@ -21,14 +21,14 @@ - username: test2 authorize: yes state: present - role: network-admin + role: network-operator provider: "{{ cli }}" register: result - assert: that: - 'result.changed == true' - - 'result.commands == ["username test1 role network-admin", "username test2 role network-admin"]' + - 'result.commands == ["username test1 role network-operator", "username test2 role network-operator"]' - name: tearDown eos_user: