Gitea: /var/lib/gitea auf extra LV (#364)

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#364
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2022-05-19 21:37:39 +02:00
parent 169abbedff
commit de57001761
2 changed files with 17 additions and 0 deletions

View file

@ -1,4 +1,20 @@
--- ---
### mrlesmithjr.ansible-manage-lvm
lvm_groups:
- vgname: vg_gitea_data
disks:
- /dev/sdb
create: true
lvnames:
- lvname: lv_gitea_data
size: +100%FREE
create: true
filesystem: xfs
mount: true
mntp: /var/lib/gitea
manage_lvm: true
pvresize_to_max: true
### oefenweb.ufw ### oefenweb.ufw
ufw_rules: ufw_rules:
- rule: allow - rule: allow

View file

@ -1,5 +1,6 @@
--- ---
- hosts: gitea - hosts: gitea
roles: roles:
- { role: mrlesmithjr.ansible-manage-lvm, tags: "lvm", become: true }
- { role: mgrote.postfix, tags: "postfix" } - { role: mgrote.postfix, tags: "postfix" }
- { role: tmaurice.gitea, tags: "gitea", become: true } - { role: tmaurice.gitea, tags: "gitea", become: true }