From 0df015e9b5c4aefd4245c94ee98021d2af80ed99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Gon=C3=A7alves?= Date: Sat, 22 Oct 2022 16:41:45 +0200 Subject: lint: pass ansible-lint + yamllint --- roles/workstation/tasks/shell.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'roles/workstation/tasks/shell.yml') diff --git a/roles/workstation/tasks/shell.yml b/roles/workstation/tasks/shell.yml index 42b134c..dc11ca4 100644 --- a/roles/workstation/tasks/shell.yml +++ b/roles/workstation/tasks/shell.yml @@ -1,8 +1,8 @@ - name: retrieve zsh path # noqa no-changed-when command-instead-of-shell - shell: command -v zsh + ansible.builtin.shell: command -v zsh register: zsh_path - name: ensure zsh is used for workstation user - user: + ansible.builtin.user: name: "{{ workstation_user }}" shell: "{{ zsh_path.stdout_lines[0] }}" -- cgit v1.2.3