From c9424254240906821549a3de2d71ea7d4db06f48 Mon Sep 17 00:00:00 2001 From: jonnybravo Date: Tue, 3 Feb 2026 12:32:43 +0100 Subject: [PATCH] try --- roles/fish/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/fish/tasks/main.yml b/roles/fish/tasks/main.yml index 3d7522a..06d0df2 100644 --- a/roles/fish/tasks/main.yml +++ b/roles/fish/tasks/main.yml @@ -33,9 +33,9 @@ # shell: "{{ fish_shell_path }}" # loop: "{{ users_with_bash_zsh.stdout_lines }}" -- name: Create a list of users with bash or zsh shell +- name: Create a list of users with bash, zsh or fish shell set_fact: - my_users: "{{ ansible_facts.getent_passwd | dict2items | selectattr('value.5', 'in', ['/bin/bash', '/usr/bin/bash', '/bin/zsh', '/usr/bin/zsh']) | map(attribute='key') | list }}" + my_users: "{{ ansible_facts.getent_passwd | dict2items | selectattr('value.5', 'in', ['/bin/bash', '/usr/bin/bash', '/bin/zsh', '/usr/bin/zsh', '/bin/fish', '/usr/bin/fish']) | map(attribute='key') | list }}" - name: Debug my_users debug: