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