2024-08-14 04:18:11 +02:00
|
|
|
- name: Install required system packages
|
|
|
|
apt:
|
|
|
|
pkg:
|
|
|
|
- apt-transport-https
|
|
|
|
- ca-certificates
|
|
|
|
- curl
|
|
|
|
- software-properties-common
|
|
|
|
- python3-pip
|
|
|
|
- virtualenv
|
|
|
|
- python3-setuptools
|
2024-08-19 23:31:33 +02:00
|
|
|
- duf
|
2024-08-14 04:18:11 +02:00
|
|
|
state: latest
|
|
|
|
update_cache: true
|
|
|
|
|
2024-08-19 22:03:15 +02:00
|
|
|
- name: setup shell
|
|
|
|
import_tasks: shell.yml
|
|
|
|
|
2024-08-14 04:18:11 +02:00
|
|
|
- name: Add Docker GPG apt Key
|
|
|
|
apt_key:
|
|
|
|
url: https://download.docker.com/linux/ubuntu/gpg
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Add Docker Repository
|
|
|
|
apt_repository:
|
|
|
|
repo: deb https://download.docker.com/linux/debian bookworm stable
|
|
|
|
state: present
|
|
|
|
|
|
|
|
- name: Update apt and install docker-ce
|
|
|
|
apt:
|
|
|
|
name: docker-ce
|
|
|
|
state: latest
|
|
|
|
update_cache: true
|
|
|
|
|
|
|
|
- name: copy over ufw-docker.sh
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: ufw-docker.sh
|
|
|
|
dest: /usr/local/bin/ufw-docker.sh
|
|
|
|
owner: root
|
|
|
|
mode: 755
|
|
|
|
|
|
|
|
- name: execute ufw-docker.sh
|
|
|
|
ansible.builtin.shell: /usr/local/bin/ufw-docker.sh install
|
|
|
|
|
|
|
|
- name: make directories
|
|
|
|
ansible.builtin.file:
|
|
|
|
path: "{{ item }}"
|
|
|
|
state: directory
|
|
|
|
loop:
|
|
|
|
- /opt/stacks
|
|
|
|
- /opt/dockge
|
|
|
|
|
|
|
|
- name: copy dockge compose file
|
|
|
|
ansible.builtin.copy:
|
|
|
|
src: dockge-compose.yml
|
|
|
|
dest: /opt/dockge/dockge.yml
|
|
|
|
owner: root
|
|
|
|
mode: 644
|
|
|
|
|
|
|
|
- name: deploy dockge stack
|
|
|
|
community.docker.docker_compose_v2:
|
|
|
|
project_src: /opt/dockge
|
|
|
|
files:
|
|
|
|
- dockge.yml
|
|
|
|
|
|
|
|
- name: Install caddy
|
|
|
|
import_tasks: caddy.yml
|
2024-09-21 00:46:16 +02:00
|
|
|
tags: caddy
|
2024-08-14 04:18:11 +02:00
|
|
|
|
|
|
|
- name: Install gitea
|
|
|
|
import_tasks: gitea.yml
|
2024-09-21 00:46:16 +02:00
|
|
|
tags: gitea
|
2024-08-14 17:02:13 +02:00
|
|
|
|
|
|
|
- name: Install hoarder
|
|
|
|
import_tasks: hoarder.yml
|
2024-09-21 00:46:16 +02:00
|
|
|
tags: hoarder
|
2024-08-14 21:27:05 +02:00
|
|
|
|
|
|
|
- name: Install authentik
|
|
|
|
import_tasks: authentik.yml
|
2024-09-21 00:46:16 +02:00
|
|
|
tags: authentik
|
2024-08-14 21:27:05 +02:00
|
|
|
|
2024-08-15 17:28:42 +02:00
|
|
|
- name: Install gotosocial
|
|
|
|
import_tasks: gotosocial.yml
|
2024-09-21 00:46:16 +02:00
|
|
|
tags: gotosocial
|
2024-08-15 17:28:42 +02:00
|
|
|
|
2024-10-09 20:57:48 +02:00
|
|
|
#- name: Install grist
|
|
|
|
# import_tasks: grist.yml
|
|
|
|
# tags: grist
|
2024-08-17 01:29:38 +02:00
|
|
|
|
|
|
|
- name: Install tasksmd
|
2024-09-21 00:46:16 +02:00
|
|
|
import_tasks: tasksmd.yml
|
2024-09-22 16:16:55 +02:00
|
|
|
tags: tasksmd
|
|
|
|
|
|
|
|
- name: Install glance
|
|
|
|
import_tasks: glance.yml
|
2024-09-23 20:19:14 +02:00
|
|
|
tags: glance
|
|
|
|
|
|
|
|
- name: Install stirlingpdf
|
|
|
|
import_tasks: stirlingpdf.yml
|
2024-10-09 19:40:11 +02:00
|
|
|
tags: stirlingpdf
|
|
|
|
|
|
|
|
- name: Install pingvin
|
|
|
|
import_tasks: pingvin.yml
|
2024-10-22 19:24:41 +02:00
|
|
|
tags: pingvin
|
|
|
|
|
|
|
|
- name: Install postiz
|
|
|
|
import_tasks: postiz.yml
|
2024-10-26 20:07:26 +02:00
|
|
|
tags: postiz
|
|
|
|
|
|
|
|
- name: Install pinry
|
|
|
|
import_tasks: pinry.yml
|
2024-10-28 22:17:52 +01:00
|
|
|
tags: pinry
|
|
|
|
|
|
|
|
- name: Install audiobookshelf
|
|
|
|
import_tasks: audiobookshelf.yml
|
2024-11-02 02:02:45 +01:00
|
|
|
tags: audiobookshelf
|
|
|
|
|
|
|
|
- name: Install calibre
|
|
|
|
import_tasks: calibre.yml
|
2024-11-07 17:29:59 +01:00
|
|
|
tags: calibre
|
|
|
|
|
|
|
|
- name: Install paperlessngx
|
|
|
|
import_tasks: paperlessngx.yml
|
2024-11-11 19:58:14 +01:00
|
|
|
tags: paperlessngx
|
|
|
|
|
|
|
|
- name: Install heyform
|
|
|
|
import_tasks: heyform.yml
|
2024-12-04 01:56:24 +01:00
|
|
|
tags: heyform
|
|
|
|
|
|
|
|
- name: Install codeserver
|
|
|
|
import_tasks: codeserver.yml
|
2024-12-10 15:05:55 +01:00
|
|
|
tags: codeserver
|
|
|
|
|
|
|
|
- name: Install baikal
|
|
|
|
import_tasks: baikal.yml
|
2024-12-27 02:28:37 +01:00
|
|
|
tags: baikal
|
|
|
|
|
|
|
|
- name: Install syncthing
|
|
|
|
import_tasks: syncthing.yml
|
|
|
|
tags: syncthing
|