2023-05-25 10:06:15 +10:00

16 lines
241 B
YAML

---
- name: verify that .ssh exists
file:
path: /root/.ssh
state: directory
mode: "0600"
tags:
- sync
- name: sync ssh authorized_keys
copy:
src: authorized_keys
dest: /root/.ssh/authorized_keys
tags:
- sync