add zsh account convertio to system
This commit is contained in:
parent
87e61275cf
commit
4be45dc9ea
@ -69,3 +69,9 @@
|
||||
deb: "{{debian_url}}"
|
||||
when: ansible_facts['os_family'] == "Debian"
|
||||
|
||||
- name: pass user shell to zsh
|
||||
user:
|
||||
name: "{{user.name}}" # required. Name of the user to create, remove or modify.
|
||||
shell: /bin/zsh # not required. Optionally set the user's shell.,On macOS, before version 2.5, the default shell for non-system users was /usr/bin/false. Since 2.5, the default shell for non-system users on macOS is /bin/bash.
|
||||
state: present # not required. choices: absent;present. Whether the account should exist or not, taking action if the state is different from what is stated.
|
||||
become: yes
|
Loading…
Reference in New Issue
Block a user