ansible/roles/common-bitlair/tasks/main.yaml

8 lines
198 B
YAML

---
- name: Update authorized_keys
tags: authorized_keys
template:
src: authorized_keys.j2
dest: /root/.ssh/authorized_keys
mode: 0600
when: root_access is defined and root_access