Files
cao-playbooks/init.yml
2025-11-24 21:44:03 +00:00

13 lines
260 B
YAML

- hosts: all
remote_user: root
tasks:
- name: Install Python
package:
name: python3
state: present
- name: Init SSH Key
authorized_key:
user: root
key: "{{ lookup('file', '~/.ssh/id_rsa.pub') }}"
state: 'present'