Remove remaining gitea configuration

Goodbye old friend
This commit is contained in:
Jake Howard
2020-09-05 16:56:27 +01:00
parent c1dc26ce35
commit 77113246b0
8 changed files with 0 additions and 246 deletions

View File

@ -1,44 +0,0 @@
- name: Include gitea variables
include_vars: gitea.yml
- name: Create gitea directory
file:
path: /opt/gitea
state: directory
owner: "{{ docker_user.name }}"
mode: "{{ docker_compose_directory_mask }}"
become: true
- name: Install gitea compose file
template:
src: files/gitea/docker-compose.yml
dest: /opt/gitea/docker-compose.yml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
validate: /usr/bin/docker-compose -f %s config
register: compose_file
become: true
- name: Install gitea config file
template:
src: files/gitea/app.ini
dest: /mnt/tank/app-data/gitea/gitea/conf/app.ini
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
register: gitea_config_file
become: true
- name: Install git-mirror config file
template:
src: files/gitea/git-mirror-repositories.toml
dest: /mnt/tank/app-data/git-mirror/repositories.toml
mode: "{{ docker_compose_file_mask }}"
owner: "{{ docker_user.name }}"
register: git_mirror_config_file
become: true
- name: restart gitea
shell:
chdir: /opt/gitea
cmd: "{{ docker_update_command }}"
when: compose_file.changed or gitea_config_file.changed or git_mirror_config_file.changed

View File

@ -1,9 +1,6 @@
- name: Install calibre
include: calibre.yml
- name: Install gitea
include: gitea.yml
- name: Install gotify
include: gotify.yml