Also ensure Ansible owns EVERYTHING in their home dir
This commit is contained in:
parent
41225985fd
commit
ead19311c2
@ -13,8 +13,12 @@
|
||||
file:
|
||||
path: "/home/ansible"
|
||||
mode: "0700"
|
||||
- name: Ensure ownership of Ansible user home
|
||||
file:
|
||||
path: "/home/ansible"
|
||||
owner: ansible
|
||||
group: ansible
|
||||
recurse: yes
|
||||
- name: Add Ansible key to user
|
||||
authorized_key:
|
||||
user: ansible
|
||||
|
Loading…
Reference in New Issue
Block a user