diff --git a/tasks/users.yml b/tasks/users.yml index 895ad31..7252bae 100644 --- a/tasks/users.yml +++ b/tasks/users.yml @@ -9,6 +9,7 @@ password: "{{ item.password }}" uid: "{{ item.uid }}" shell: "{{ prompt_place['stdout'] }}" + state: present with_items: "{{ deploy_users }}" tags: - first_deployement @@ -18,7 +19,8 @@ name: "{{ item.username }}" password: "{{ item.password }}" uid: "{{ item.uid }}" - shell: "{{ prompt_place['stdout'] }}" + # shell: "{{ prompt_place['stdout'] }}" + state: present with_items: "{{ me }}" when: not minimal or not server tags: