16 lines
241 B
YAML
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
|