Browse Source

Making main user's shell configurable

Benjamin Reitzammer 10 years ago
parent
commit
d957760697
2 changed files with 2 additions and 1 deletions
  1. 1
    1
      roles/common/tasks/users.yml
  2. 1
    0
      vars/defaults.yml

+ 1
- 1
roles/common/tasks/users.yml View File

1
 - name: Create main user account
1
 - name: Create main user account
2
-  user: name={{ main_user_name }} state=present shell=/usr/bin/zsh groups=sudo,fuse
2
+  user: name={{ main_user_name }} state=present shell={{ main_user_shell }} groups=sudo,fuse

+ 1
- 0
vars/defaults.yml View File

8
 # domain: (required)
8
 # domain: (required)
9
 # main_user_name: (required)
9
 # main_user_name: (required)
10
 admin_email: "{{ main_user_name }}@{{ domain }}"
10
 admin_email: "{{ main_user_name }}@{{ domain }}"
11
+main_user_shell: "/bin/bash"
11
 # encfs_password: (required)
12
 # encfs_password: (required)
12
 friendly_networks:
13
 friendly_networks:
13
   - ""
14
   - ""

Loading…
Cancel
Save