Commit 02b480bc by Saleem Latif Committed by GitHub

Merge pull request #3397 from edx/saleem-latif/add_user_bug_fix

Make sure user has correct associated group
parents 694e444a 9d0cb7f9
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
user: user:
name: "{{ user_name }}" name: "{{ user_name }}"
home: "{{ user_home }}" home: "{{ user_home }}"
group: "{{ group_name }}"
createhome: yes createhome: yes
shell: /bin/false shell: /bin/false
generate_ssh_key: yes generate_ssh_key: yes
......
...@@ -52,3 +52,9 @@ ...@@ -52,3 +52,9 @@
append: yes append: yes
with_items: theme_users with_items: theme_users
when: theme_users is defined when: theme_users is defined
- name: update .bashrc to set umask value
lineinfile:
dest: "{{ themes_home }}/.bashrc"
line: "umask 002"
state: present
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment