Change shell to fish
This commit is contained in:
parent
ed5cd560cf
commit
e3be48ffb2
@ -175,6 +175,17 @@
|
|||||||
become: true
|
become: true
|
||||||
tags: config
|
tags: config
|
||||||
|
|
||||||
|
- name: Set fish for user
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "{{ ansible_user_id }}"
|
||||||
|
shell: "/usr/bin/fish"
|
||||||
|
|
||||||
|
- name: Set fish for root
|
||||||
|
ansible.builtin.user:
|
||||||
|
name: "root"
|
||||||
|
shell: "/usr/bin/fish"
|
||||||
|
become: true
|
||||||
|
|
||||||
- name: Add user to groups
|
- name: Add user to groups
|
||||||
ansible.builtin.user:
|
ansible.builtin.user:
|
||||||
name: "{{ ansible_user_id }}"
|
name: "{{ ansible_user_id }}"
|
||||||
|
Loading…
Reference in New Issue
Block a user