diff --git a/ansible/playbooks/bootstrap.yml b/ansible/playbooks/bootstrap.yml index eadfd55..a1ce237 100644 --- a/ansible/playbooks/bootstrap.yml +++ b/ansible/playbooks/bootstrap.yml @@ -20,7 +20,7 @@ # Uncomment to prevent password reset update_password: on_create system: yes - home: /srv/ansible + home: /home/ansible state: present - name: Set ansible user as sudoer @@ -53,8 +53,8 @@ # e.g. fabio - name: Create the .ssh directory - file: path=/srv/ansible/.ssh owner=ansible group=ansible mode=0700 state=directory + file: path=/home/ansible/.ssh owner=ansible group=ansible mode=0700 state=directory - name: Add the mandatory ssh keys to the ansible user - template: src=library/templates/ansible_auth_keys.j2 dest=/srv/ansible/.ssh/authorized_keys owner=ansible group=ansible mode=0600 + template: src=library/templates/ansible_auth_keys.j2 dest=/home/ansible/.ssh/authorized_keys owner=ansible group=ansible mode=0644