From 4be45dc9ea9504d1d0545eb149c5dc2033600bcc Mon Sep 17 00:00:00 2001 From: vincent Date: Sat, 15 Feb 2020 11:23:30 +0100 Subject: [PATCH] add zsh account convertio to system --- tasks/base_software.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tasks/base_software.yml b/tasks/base_software.yml index c88cd67..a47a3a0 100644 --- a/tasks/base_software.yml +++ b/tasks/base_software.yml @@ -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 \ No newline at end of file