diff --git a/roles/bootstrap/tasks/main.yml b/roles/bootstrap/tasks/main.yml index 6e32bbd6d0016ec5ec80fe20ea0c00b910f16799..d225e9f7ccd3772d16e1e59367478b1067b8d958 100644 --- a/roles/bootstrap/tasks/main.yml +++ b/roles/bootstrap/tasks/main.yml @@ -10,7 +10,7 @@ user: name=ansible system=yes group=ansible shell=/bin/bash - name: Set-up authorized key for the Ansible user - authorized_key: user=ansible key="{{ lookup('file', ansible_key) }}" + authorized_key: user=ansible key="{{ ansible_key }}" - name: Set-up password-less sudo for the ansible user copy: src=ansible_sudo dest=/etc/sudoers.d/ansible mode=640 owner=root group=root \ No newline at end of file