Files
Kubernetes/CICD/Ansible/key.yml
2025-08-25 17:53:08 +08:00

7 lines
161 B
YAML

- hosts: all
tasks:
- name: Non secret authentication
authorized_key: user=root key="{{ lookup('file', '/root/.ssh/id_rsa.pub') }}" state=present