--- - hosts: "{{ server }}" remote_user: root roles: - bootstrap vars: ansible_key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"