Initial Commit

This commit is contained in:
ansible user
2025-11-24 21:44:03 +00:00
commit a1d27055c7
6 changed files with 164 additions and 0 deletions

12
init.yml Normal file
View File

@@ -0,0 +1,12 @@
- 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'