Change to collection model

This commit is contained in:
Sangelo 2024-01-06 17:59:59 +01:00
parent 457b85ddd3
commit 68e1d6730c
11 changed files with 53 additions and 0 deletions

4
.gitignore vendored Normal file
View file

@ -0,0 +1,4 @@
.DS_Store
.vault
secrets.enc
todo

2
LICENSE Normal file
View file

@ -0,0 +1,2 @@
# WIP
# currently (c) Sangelo 2023-2024

View file

@ -0,0 +1,3 @@
# Ansible Playbooks
Ansible Playbooks used to deploy services on Lunivity.

2
ansible.cfg Normal file
View file

@ -0,0 +1,2 @@
[defaults]
roles_path = roles/

View file

@ -0,0 +1,8 @@
---
collections:
- name: https://gitpot.dev/lunivity/ansible-core.git
type: git
- name: https://gitpot.dev/lunivity/ansible-common.git
type: git

0
inventory/beta.ini Normal file
View file

View file

@ -0,0 +1,23 @@
proxmox_id: 100
common_firewall_enable: false
core_groups:
- name: "mgmt"
state: present
core_users:
- name: "sangelo"
password: "!"
groups: ["sudo"]
state: present
authorized_keys:
- "sangelo"
- "sangelo-access"
- name: "dockertest"
password: "{{ sec_dockertest_pass }}"
group: "docker"
state: present
authorized_keys:
- "sangelo"
- "sangelo-access"

View file

0
inventory/prod.ini Normal file
View file

2
inventory/test.ini Normal file
View file

@ -0,0 +1,2 @@
[dockertest]
10.1.1.1

View file

@ -0,0 +1,9 @@
---
- name: install docker
hosts: dockertest
remote_user: root
roles:
- lunivity.common.all
- lunivity.core.docker
- lunivity.core.users