From 17b05c8f2e1f4e9b288418dae2f318f0bb583a66 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Fri, 8 Feb 2019 09:11:46 +0100 Subject: [PATCH] Fix: wrong use of register --- tasks/prompt.yml | 2 +- tasks/users.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/prompt.yml b/tasks/prompt.yml index e2b6b76..2346d99 100644 --- a/tasks/prompt.yml +++ b/tasks/prompt.yml @@ -18,7 +18,7 @@ - name: Set shell for root user: name: root - shell: "{{ prompt_place }}" + shell: "{{ prompt_place["stdout"] }}" tags: - first_deployement diff --git a/tasks/users.yml b/tasks/users.yml index d07bb2c..4e6ae36 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -8,7 +8,7 @@ name: "{{ item.username }}" password: "{{ item.password }}" uid: "{{ item.uid }}" - shell: "{{ prompt_place }}" + shell: "{{ prompt_place["stdout"] }}" with_items: "{{ deploy_users }}" tags: - first_deployement @@ -18,7 +18,7 @@ name: "{{ item.username }}" password: "{{ item.password }}" uid: "{{ item.uid }}" - shell: "{{ prompt_place }}" + shell: "{{ prompt_place["stdout"] }}" with_items: "{{ me }}" when: not minimal or not server tags: