Configure ansible user home

Turns out we need to ensure that, I guess
This commit is contained in:
Salt 2020-10-17 18:47:37 -05:00
parent a7f32f7c48
commit 655d8c15b5

View File

@ -4,6 +4,8 @@
block:
- name: create ansible user
user: name=ansible password_lock=yes
- name: configure ansible user home directory
file: path=/home/ansible owner=ansible group=ansible
- name: configure ansible user keys
authorized_key: user=ansible manage_dir=yes key={{ common_ansible_pubkey }}
- name: configure ansible user sudo