initial commit

This commit is contained in:
Riedel
2026-08-19 09:53:22 +02:00
commit 6d707eca87
23 changed files with 671 additions and 0 deletions

17
playbooks/awx.yml Normal file
View File

@@ -0,0 +1,17 @@
---
# AWX only. Run: ansible-playbook playbooks/awx.yml --ask-vault-pass
- name: Base setup
hosts: awx_servers
become: true
roles:
- role: common
- name: Install and configure AWX (via k3s)
hosts: awx_servers
become: true
vars_files:
- ../vault/secrets.yml
roles:
- role: k3s_install
- role: awx_operator

16
playbooks/gitlab.yml Normal file
View File

@@ -0,0 +1,16 @@
---
# GitLab only. Run: ansible-playbook playbooks/gitlab.yml --ask-vault-pass
- name: Base setup
hosts: gitlab_servers
become: true
roles:
- role: common
- name: Install and configure GitLab
hosts: gitlab_servers
become: true
vars_files:
- ../vault/secrets.yml
roles:
- role: gitlab_install

26
playbooks/site.yml Normal file
View File

@@ -0,0 +1,26 @@
---
# Full rollout: base setup on all hosts, then AWX and GitLab in parallel groups.
# Full run: ansible-playbook playbooks/site.yml --ask-vault-pass
- name: Base setup for all hosts
hosts: awx_servers:gitlab_servers
become: true
roles:
- role: common
- name: Install and configure AWX (via k3s)
hosts: awx_servers
become: true
vars_files:
- ../vault/secrets.yml
roles:
- role: k3s_install
- role: awx_operator
- name: Install and configure GitLab
hosts: gitlab_servers
become: true
vars_files:
- ../vault/secrets.yml
roles:
- role: gitlab_install