feat: add ansible configuration to bootstrap host
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
[defaults]
|
||||||
|
inventory = inventory.ini
|
||||||
|
host_key_checking = False
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
ansible_user: "ansible"
|
||||||
|
|
||||||
|
sysadmin_user: "alessandrovitali"
|
||||||
|
sysadmin_public_ssh_key: "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAm/J+9YG+odym9In9C4iLcrfXlrlPK2TygtI7lBNNpl"
|
||||||
@@ -1,2 +1,2 @@
|
|||||||
[coolify_vm]
|
[coolify]
|
||||||
${public_ip} ansible_user=debian
|
coolify ansible_host=${public_ip} ansible_user=debian
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
## ansible/setup.yml
|
||||||
|
|
||||||
|
- name: Setup coolify machine
|
||||||
|
hosts: all
|
||||||
|
roles:
|
||||||
|
- role: studio.ansible.base
|
||||||
|
- role: studio.ansible.users
|
||||||
|
- role: studio.ansible.security
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
## ansible/requirements.yml
|
||||||
|
|
||||||
|
collections:
|
||||||
|
- name: studio.ansible
|
||||||
|
source: https://git.studiovita.li/studio/ansible.git ## HTTPS
|
||||||
|
type: git
|
||||||
|
# version: 0.1.0
|
||||||
Reference in New Issue
Block a user