2021-03-22 21:08:40 +01:00
|
|
|
---
|
|
|
|
- name: "Create config and data directory"
|
2021-03-22 21:28:51 +01:00
|
|
|
become: true
|
2021-03-22 21:08:40 +01:00
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
owner: "{{ gitea_user }}"
|
|
|
|
group: "{{ gitea_group }}"
|
|
|
|
mode: 'u=rwX,g=rX,o='
|
|
|
|
with_items:
|
2023-07-19 19:38:47 +02:00
|
|
|
- "{{ gitea_configuration_path }}"
|
2022-08-22 13:33:20 +02:00
|
|
|
- "{{ gitea_user_home }}"
|
2021-03-22 21:08:40 +01:00
|
|
|
- "{{ gitea_home }}"
|
|
|
|
- "{{ gitea_home }}/data"
|
2021-06-03 17:59:14 +02:00
|
|
|
- "{{ gitea_custom }}"
|
|
|
|
- "{{ gitea_custom }}/https"
|
|
|
|
- "{{ gitea_custom }}/mailer"
|
2021-03-22 21:08:40 +01:00
|
|
|
- "{{ gitea_home }}/indexers"
|
|
|
|
- "{{ gitea_home }}/log"
|
|
|
|
- "{{ gitea_repository_root }}"
|