Do not recursively own Ansible user home
This works around a bug with a recursive symlink in the sshd role. With that symlink, ansible-pull fails as it recurses through its own repo infinitely.
This commit is contained in:
parent
e1d625391e
commit
7a98174297
@ -3,7 +3,7 @@
|
|||||||
- 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
|
- name: configure ansible user home directory
|
||||||
file: path=/home/ansible owner=ansible group=ansible recurse=yes
|
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