From a5b483da16ec88a24ee215adeb8a94896b8006e2 Mon Sep 17 00:00:00 2001 From: Ricardo Carrillo Cruz Date: Fri, 11 Aug 2017 16:42:43 +0200 Subject: [PATCH] Replace username for name in eos_user integration tests (#28067) username param is read by eos action plugion load_provider, if present it is set as the play context remote user. That means if you have a play remote_user: admin it won't be used, but instead whatever is put in the task argument username. Changing the tests to use name fixes the issue, we may want to remove username as valid module argument in other change. --- test/integration/targets/eos_user/tests/cli/basic.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/integration/targets/eos_user/tests/cli/basic.yaml b/test/integration/targets/eos_user/tests/cli/basic.yaml index 26b6bd3b8c..2de8fa369c 100644 --- a/test/integration/targets/eos_user/tests/cli/basic.yaml +++ b/test/integration/targets/eos_user/tests/cli/basic.yaml @@ -1,7 +1,7 @@ --- - name: Create user eos_user: - username: netend + name: netend privilege: 15 role: network-operator state: present @@ -17,8 +17,8 @@ - name: Collection of users eos_user: aggregate: - - username: test1 - - username: test2 + - name: test1 + - name: test2 authorize: yes state: present role: network-operator