瀏覽代碼

Merge pull request #151 from nureineide/master

Making main user's shell configurable
Luke Cyca 10 年之前
父節點
當前提交
fdce2b0a9a
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1
    1
      roles/common/tasks/users.yml
  2. 1
    0
      vars/defaults.yml

+ 1
- 1
roles/common/tasks/users.yml 查看文件

@@ -1,2 +1,2 @@
1 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 查看文件

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

Loading…
取消
儲存