diff options
author | Christian Pointner <equinox@spreadspace.org> | 2017-12-16 18:27:38 +0100 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2017-12-16 18:27:38 +0100 |
commit | 8e366699a69045664758f7496b7a145bee33e0b7 (patch) | |
tree | 2daa8c94e0c697b0d27ce9d6604c12c8a97187ce /roles/zsh/tasks | |
parent | kubernetes base for dione and helene (diff) |
added admin-user role
Diffstat (limited to 'roles/zsh/tasks')
-rw-r--r-- | roles/zsh/tasks/main.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/zsh/tasks/main.yaml b/roles/zsh/tasks/main.yaml index c1d63b7a..23e8e9f5 100644 --- a/roles/zsh/tasks/main.yaml +++ b/roles/zsh/tasks/main.yaml @@ -20,6 +20,12 @@ shell: /bin/zsh with_items: "{{ [ 'root' ] | union(zsh_loginshell_user | default([])) }}" +- name: make zsh the default shell for useradd + lineinfile: + regexp: '^#?SHELL=' + line: 'SHELL=/bin/zsh' + path: /etc/adduser.conf + - name: make zsh the default shell for adduser lineinfile: regexp: '^#?DSHELL=' |