This repository has been archived on 2020-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
2020-03-19 00:57:09 +00:00
|
|
|
---
|
2020-03-19 00:46:09 +00:00
|
|
|
- hosts: all
|
|
|
|
tasks:
|
2020-03-22 10:53:49 +00:00
|
|
|
- name: Load variables
|
|
|
|
include_vars:
|
|
|
|
dir: "{{ dokku_lib_root }}/data/ansible/gitea/vars/"
|
|
|
|
extensions:
|
2020-03-22 10:54:58 +00:00
|
|
|
- yml
|
2020-03-22 10:53:49 +00:00
|
|
|
|
|
|
|
- name: Set HTTP 80 port proxy
|
|
|
|
dokku_ports:
|
|
|
|
app: gitea
|
|
|
|
mappings:
|
|
|
|
- "http:80:3000"
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Setup LE certificates
|
|
|
|
shell: dokku letsencrypt gitea
|
|
|
|
args:
|
|
|
|
creates: /home/dokku/gitea/letsencrypt/certs
|
|
|
|
|
|
|
|
- name: Remove automatically configured ports
|
|
|
|
dokku_ports:
|
|
|
|
app: gitea
|
|
|
|
mappings:
|
|
|
|
- "http:3000:3000"
|
|
|
|
state: absent
|