comment change shell
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
vincent 2022-05-31 14:13:03 +02:00
parent c65eeac65e
commit 36a7f7ff39

View File

@ -14,12 +14,12 @@
- debug: - debug:
msg: "{{ config_download }}" msg: "{{ config_download }}"
- name: pass user shell to zsh #- name: pass user shell to zsh
user: # user:
name: "{{user.name}}" # required. Name of the user to create, remove or modify. # 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. # 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. # 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 # become: yes
- name: test if user bash rc exist - name: test if user bash rc exist
stat: stat: