|
|
@ -110,6 +110,12 @@
|
|
|
|
name: 'gitea'
|
|
|
|
name: 'gitea'
|
|
|
|
state: started
|
|
|
|
state: started
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- name: ensure the service is enabled and started
|
|
|
|
|
|
|
|
service:
|
|
|
|
|
|
|
|
name: 'gitea'
|
|
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
state: started
|
|
|
|
|
|
|
|
|
|
|
|
- name: configure Nginx
|
|
|
|
- name: configure Nginx
|
|
|
|
blockinfile:
|
|
|
|
blockinfile:
|
|
|
|
path: '{{ gitea_nginx_conf_path }}'
|
|
|
|
path: '{{ gitea_nginx_conf_path }}'
|
|
|
@ -142,4 +148,6 @@
|
|
|
|
--password '{{ gitea_user_password }}'
|
|
|
|
--password '{{ gitea_user_password }}'
|
|
|
|
--email '{{ gitea_user_email }}'
|
|
|
|
--email '{{ gitea_user_email }}'
|
|
|
|
--must-change-password
|
|
|
|
--must-change-password
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
--admin
|
|
|
|
--admin
|
|
|
|