1 2 3 4 5 6 7 8
--- - hosts: "{{ server }}" remote_user: root roles: - bootstrap vars: ansible_key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"