Configure ansible user home
Turns out we need to ensure that, I guess
This commit is contained in:
parent
a7f32f7c48
commit
655d8c15b5
@ -4,6 +4,8 @@
|
|||||||
block:
|
block:
|
||||||
- name: create ansible user
|
- name: create ansible user
|
||||||
user: name=ansible password_lock=yes
|
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
|
- name: configure ansible user keys
|
||||||
authorized_key: user=ansible manage_dir=yes key={{ common_ansible_pubkey }}
|
authorized_key: user=ansible manage_dir=yes key={{ common_ansible_pubkey }}
|
||||||
- name: configure ansible user sudo
|
- name: configure ansible user sudo
|
||||||
|
Loading…
Reference in New Issue
Block a user