d2ray/ansible/d2ray.yml
quackerd 551ab9e886
Some checks failed
continuous-integration/drone/push Build is failing
new
2021-04-19 03:51:22 -04:00

11 lines
273 B
YAML

- hosts: '{{ target }}'
gather_facts: false
become: true
remote_user: root
any_errors_fatal: yes
tasks:
- name: add root ssh key
ansible.posix.authorized_key:
user: root
state: present
key: "{{ lookup('file', './id_root.pub') }}"