account: Added configuration for home directory

For disabling other read rights on home directory
wip
Felix Stupp 5 years ago
parent ad87ad2e7d
commit c56ed16851
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -29,6 +29,14 @@
ssh_key_passphrase: "{{ password }}"
ssh_key_comment: "{{ username }}@{{ ansible_fqdn }} {{ ansible_date_time.date }}"
- name: Configure home directory
file:
path: "/home/{{ username }}"
state: directory
owner: "{{ username }}"
group: "{{ username }}"
mode: "u=rwx,g=rx,o="
- name: Download oh-my-zsh for user {{ username }}
become_user: "{{ username }}"
git:

Loading…
Cancel
Save