change shell to zsh
This commit is contained in:
9
change-shell.yml
Normal file
9
change-shell.yml
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
- name: set up zsh for user
|
||||||
|
hosts: all
|
||||||
|
become: no
|
||||||
|
tasks:
|
||||||
|
- name: change user shell to zsh
|
||||||
|
become: yes
|
||||||
|
user:
|
||||||
|
name: mo
|
||||||
|
shell: /bin/zsh
|
||||||
Reference in New Issue
Block a user