From 5c2e3443bedf0ef6a34888ea30361af7da314748 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 4 Dec 2021 14:01:47 +0000 Subject: roles: Add workstation role --- roles/workstation/tasks/shell.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 roles/workstation/tasks/shell.yml (limited to 'roles/workstation/tasks/shell.yml') diff --git a/roles/workstation/tasks/shell.yml b/roles/workstation/tasks/shell.yml new file mode 100644 index 0000000..42b134c --- /dev/null +++ b/roles/workstation/tasks/shell.yml @@ -0,0 +1,8 @@ +- name: retrieve zsh path # noqa no-changed-when command-instead-of-shell + shell: command -v zsh + register: zsh_path + +- name: ensure zsh is used for workstation user + user: + name: "{{ workstation_user }}" + shell: "{{ zsh_path.stdout_lines[0] }}" -- cgit v1.2.3