From 36a7f7ff39d8fb0ca4261480a83ce129777ed066 Mon Sep 17 00:00:00 2001 From: vincent Date: Tue, 31 May 2022 14:13:03 +0200 Subject: [PATCH] comment change shell --- tasks/main.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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: