gitea data/config base_path var
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 36s
All checks were successful
ansible-lint / Ansible Lint (push) Successful in 36s
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
state: directory
|
||||
owner: root
|
||||
mode: "755"
|
||||
with_items: ["/opt/gitea", "/var/lib/gitea"]
|
||||
with_items: ["/opt/gitea", "{{ gitea_vars.base_path }}"]
|
||||
|
||||
- name: Ensure data and config directories exist
|
||||
ansible.builtin.file:
|
||||
path: "/var/lib/gitea/{{ item }}"
|
||||
path: "{{ gitea_vars.base_path }}/{{ item }}"
|
||||
state: directory
|
||||
owner: "{{ git_user.uid }}"
|
||||
group: "{{ git_user.group }}"
|
||||
|
Reference in New Issue
Block a user