see [devspace](b343c230a5
) (#179)
Reviewed-on: https://git.mgrote.net///mg/homeserver/pulls/179 Co-authored-by: Michael Grote <michael.grote@posteo.de> Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
parent
cba3b3b17c
commit
5cd43e8f3d
11 changed files with 22 additions and 33 deletions
|
@ -14,15 +14,4 @@ exclude_paths:
|
|||
- playbooks/base
|
||||
- playbooks/3_service
|
||||
- playbooks/1_bootstrap.yml
|
||||
- roles/ansible-role-pip
|
||||
- roles/ansible-role-bootstrap
|
||||
- roles/ansible_role_ctop
|
||||
- roles/ansible-role-docker
|
||||
- roles/ansible-role-helm
|
||||
- roles/ansible-role-nfs
|
||||
- roles/ansible-role-unattended-upgrades
|
||||
- roles/ansible-manage-lvm
|
||||
- roles/ansible-ufw
|
||||
- roles/ansible_role_gitea
|
||||
- roles/ansible-role-postgresql
|
||||
- .gitea/
|
||||
|
|
20
.gitignore
vendored
20
.gitignore
vendored
|
@ -2,19 +2,19 @@
|
|||
vault-pass
|
||||
id_ed25519
|
||||
id_ed25519.pub
|
||||
roles/ansible-role-pip
|
||||
roles/geerlingguy.pip
|
||||
roles/ansible-role-k3s
|
||||
roles/ansible-role-bootstrap
|
||||
roles/ansible_role_ctop
|
||||
roles/ansible-role-docker
|
||||
roles/gantsign.ctop
|
||||
roles/geerlingguy.docker
|
||||
roles/ansible-role-helm
|
||||
roles/ansible-role-nfs
|
||||
roles/ansible_role_gitea
|
||||
roles/ansible-role-unattended-upgrades
|
||||
roles/ansible-manage-lvm
|
||||
roles/ansible-ufw
|
||||
roles/geerlingguy.nfs
|
||||
roles/roles-ansible.gitea
|
||||
roles/hifis.unattended-upgrades
|
||||
roles/mrlesmithjr.manage_lvm
|
||||
roles/oefenweb.ufw
|
||||
roles/pandemonium1986-ansible-role-k9s
|
||||
roles/ansible_role_gitea
|
||||
roles/roles-ansible.gitea
|
||||
collections/
|
||||
plugins/lookup/__pycache__/
|
||||
roles/ansible-role-postgresql
|
||||
roles/geerlingguy.postgresql
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- hosts: ansible
|
||||
roles:
|
||||
- role: ansible-role-pip
|
||||
- role: geerlingguy.pip
|
||||
tags: "pip"
|
||||
become: true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
### mrlesmithjr.ansible-manage-lvm
|
||||
### mrlesmithjr.manage_lvm
|
||||
lvm_groups:
|
||||
- vgname: vg_docker
|
||||
disks:
|
||||
|
|
|
@ -52,7 +52,7 @@ ufw_rules:
|
|||
comment: 'gitea'
|
||||
from_ip: 0.0.0.0/0
|
||||
|
||||
### ansible_role_gitea
|
||||
### roles-ansible.gitea
|
||||
gitea_fork: "forgejo"
|
||||
# gitea update
|
||||
gitea_version: "8.0.0" # TODO renovate, wird das erkannt?
|
||||
|
|
|
@ -4,13 +4,13 @@
|
|||
- role: mgrote_systemd_resolved
|
||||
tags: "dns"
|
||||
become: true
|
||||
- role: ansible-role-pip
|
||||
- role: geerlingguy.pip
|
||||
tags: "pip"
|
||||
become: true
|
||||
- role: ansible-role-docker
|
||||
- role: geerlingguy.docker
|
||||
tags: "docker"
|
||||
become: true
|
||||
- role: ansible_role_ctop
|
||||
- role: gantsign.ctop
|
||||
tags: "ctop"
|
||||
become: true
|
||||
- role: mgrote_set_permissions
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
---
|
||||
- hosts: git
|
||||
roles:
|
||||
- role: ansible-role-postgresql
|
||||
- role: geerlingguy.postgresql
|
||||
tags: "db"
|
||||
become: true
|
||||
- role: ansible_role_gitea
|
||||
- role: roles-ansible.gitea
|
||||
tags: "gitea"
|
||||
become: true
|
||||
- role: mgrote_gitea_setup
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
- hosts: ldap
|
||||
roles:
|
||||
- role: ansible-role-postgresql
|
||||
- role: geerlingguy.postgresql
|
||||
tags: "db"
|
||||
become: true
|
||||
- role: mgrote_lldap
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
tags: "snapd"
|
||||
- role: mgrote_apt_update_packages
|
||||
tags: "updates"
|
||||
- role: ansible-role-unattended-upgrades
|
||||
- role: hifis.unattended-upgrades
|
||||
become: true
|
||||
tags: unattended
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
become: true
|
||||
tags: fwupd
|
||||
when: "ansible_facts['distribution'] == 'Ubuntu'"
|
||||
- role: ansible-manage-lvm
|
||||
- role: mrlesmithjr.manage_lvm
|
||||
tags: "lvm"
|
||||
become: true
|
||||
when: manage_lvm == true and manage_lvm is defined
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
---
|
||||
- hosts: all:!pve:!pbs
|
||||
roles:
|
||||
- role: ansible-ufw # Regeln werden in den Group/Host-Vars gesetzt
|
||||
- role: oefenweb.ufw # Regeln werden in den Group/Host-Vars gesetzt
|
||||
tags: ufw
|
||||
become: true
|
||||
|
|
Loading…
Reference in a new issue