Recursively chown Ansible user's home
This commit is contained in:
parent
6fdcfbae68
commit
fdfe16a5d3
@ -3,7 +3,7 @@
|
||||
- name: create ansible user
|
||||
user: name=ansible password_lock=yes
|
||||
- name: configure ansible user home directory
|
||||
file: path=/home/ansible owner=ansible group=ansible
|
||||
file: path=/home/ansible owner=ansible group=ansible recurse=yes
|
||||
- name: configure ansible user keys
|
||||
authorized_key: user=ansible manage_dir=yes key={{ common_ansible_pubkey }}
|
||||
- name: configure ansible user sudo
|
||||
|
Loading…
Reference in New Issue
Block a user