diff --git a/tasks/main.yml b/tasks/main.yml index bc835b1..dbaedf4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -14,12 +14,12 @@ - debug: msg: "{{ config_download }}" -- 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 + #- 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 - name: test if user bash rc exist stat: