ansible/roles/gitea/tasks/nginx.yaml

18 lines
357 B
YAML
Raw Normal View History

2019-11-25 00:50:21 +00:00
- name: configure nginx
template:
src: nginx.conf.j2
dest: /etc/nginx/sites-available/gitea
owner: root
group: root
mode: 0644
notify: reload nginx
- name: activate site
file:
src: /etc/nginx/sites-available/gitea
dest: /etc/nginx/sites-enabled/gitea
owner: root
group: root
state: link
notify: reload nginx