From f39d0a220a48710db86f6b3123b6938788124f9c Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 5 Mar 2019 18:28:27 +0100 Subject: [PATCH 1/3] Fix(Choux): prompts... --- Choux.yml | 2 +- tasks/zsh.yml | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/Choux.yml b/Choux.yml index bea571f..d5c06a8 100644 --- a/Choux.yml +++ b/Choux.yml @@ -10,7 +10,7 @@ tasks: # - include: tasks/test.yml - include: tasks/arch_CLI_packages.yml - - include: tasks/zsh.yml + - include: tasks/prompt.yml - include: tasks/users.yml - include: tasks/sudo.yml - include: tasks/ssh.yml diff --git a/tasks/zsh.yml b/tasks/zsh.yml index fa3864c..5b6c583 100644 --- a/tasks/zsh.yml +++ b/tasks/zsh.yml @@ -12,6 +12,11 @@ # force: yes # backup: yes +- name: Install base CLI packages + pacman: + name: zsh + state: present + - name: Set shell for root to zsh user: name: root From 33e46732bb40165516163e20732cefc6c5daf7d5 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Tue, 5 Mar 2019 18:29:24 +0100 Subject: [PATCH 2/3] Feat(Choux): Goto fish shell --- vars/Choux.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/vars/Choux.yml b/vars/Choux.yml index 0179512..e410bff 100644 --- a/vars/Choux.yml +++ b/vars/Choux.yml @@ -1,4 +1,5 @@ --- +prompt: fish deploy_public_key: id_ed25519_home.pub From 08312fca068562a27ae0bedbdd63ae76dca153f0 Mon Sep 17 00:00:00 2001 From: Bertrand Benjamin Date: Wed, 6 Mar 2019 09:28:19 +0100 Subject: [PATCH 3/3] Fix(Choux): user and gdm --- tasks/users.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: