|
|
|
@ -22,7 +22,7 @@
|
|
|
|
|
state: directory
|
|
|
|
|
owner: "{{ gitea_system_user }}"
|
|
|
|
|
group: "{{ nginx_system_user }}"
|
|
|
|
|
mode: "u=rwx,g=rx"
|
|
|
|
|
mode: "u=rwx,g=rx,o="
|
|
|
|
|
|
|
|
|
|
- name: Configure installation directory
|
|
|
|
|
file:
|
|
|
|
@ -30,7 +30,7 @@
|
|
|
|
|
state: directory
|
|
|
|
|
owner: "{{ gitea_system_user }}"
|
|
|
|
|
group: "{{ gitea_system_user }}"
|
|
|
|
|
mode: "u=rwx,g=rx"
|
|
|
|
|
mode: "u=rwx,g=rx,o="
|
|
|
|
|
|
|
|
|
|
- name: Configure custom directory
|
|
|
|
|
file:
|
|
|
|
@ -38,7 +38,7 @@
|
|
|
|
|
state: directory
|
|
|
|
|
owner: "{{ gitea_system_user }}"
|
|
|
|
|
group: "{{ gitea_system_user }}"
|
|
|
|
|
mode: "u=rwx,g=rx"
|
|
|
|
|
mode: "u=rwx,g=rx,o="
|
|
|
|
|
|
|
|
|
|
- name: Configure repositories directory
|
|
|
|
|
file:
|
|
|
|
@ -46,13 +46,13 @@
|
|
|
|
|
state: directory
|
|
|
|
|
owner: "{{ gitea_system_user }}"
|
|
|
|
|
group: "{{ gitea_system_user }}"
|
|
|
|
|
mode: "u=rwx,g=rx"
|
|
|
|
|
mode: "u=rwx,g=rx,o="
|
|
|
|
|
|
|
|
|
|
- name: Configure gitea
|
|
|
|
|
template:
|
|
|
|
|
src: "app.ini"
|
|
|
|
|
dest: "{{ gitea_configuration_path }}"
|
|
|
|
|
mode: 0640
|
|
|
|
|
mode: "u=rw,g=r,o="
|
|
|
|
|
owner: root
|
|
|
|
|
group: "{{ gitea_system_user }}"
|
|
|
|
|
notify: restart gitea
|
|
|
|
|