diff --git a/group_vars/gitea.yml b/group_vars/gitea.yml index a3263df6..d7f160c7 100644 --- a/group_vars/gitea.yml +++ b/group_vars/gitea.yml @@ -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 ufw_rules: - rule: allow diff --git a/playbooks/3_service/gitea.yml b/playbooks/3_service/gitea.yml index a4a79e91..5b39d6e5 100644 --- a/playbooks/3_service/gitea.yml +++ b/playbooks/3_service/gitea.yml @@ -1,5 +1,6 @@ --- - hosts: gitea roles: + - { role: mrlesmithjr.ansible-manage-lvm, tags: "lvm", become: true } - { role: mgrote.postfix, tags: "postfix" } - { role: tmaurice.gitea, tags: "gitea", become: true }