Run the shell changing task as root
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
failed_when: fish_path.rc != 0
|
failed_when: fish_path.rc != 0
|
||||||
|
|
||||||
- name: Set the user's shell
|
- name: Set the user's shell
|
||||||
|
become: true
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ chezmoi.username }}"
|
name: "{{ chezmoi.username }}"
|
||||||
shell: "{{ fish_path.stdout }}"
|
shell: "{{ fish_path.stdout }}"
|
||||||
|
Reference in New Issue
Block a user