add zsh account convertio to system

This commit is contained in:
vincent 2020-02-15 11:23:30 +01:00
parent 87e61275cf
commit 4be45dc9ea

View File

@ -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