59 lines
948 B
YAML
59 lines
948 B
YAML
---
|
|
|
|
- include_tasks: zoneminder.yml
|
|
tags:
|
|
- zoneminder
|
|
|
|
- include_tasks: pihole.yml
|
|
tags:
|
|
- pihole
|
|
|
|
- include_tasks: syncthing.yml
|
|
tags:
|
|
- syncthing
|
|
|
|
#- include_tasks: grafana.yml
|
|
# tags:
|
|
# - grafana
|
|
|
|
- include_tasks: softserve.yml
|
|
tags:
|
|
- softserve
|
|
|
|
#- include_tasks: prometheus.yml
|
|
# tags:
|
|
# - prometheus
|
|
#
|
|
#- include_tasks: netdata.yaml
|
|
# tags:
|
|
# - netdata
|
|
#
|
|
- include_tasks: cupsd.yml
|
|
tags:
|
|
- cupsd
|
|
|
|
- include_tasks: kuma.yml
|
|
tags:
|
|
- kuma
|
|
|
|
- include_tasks: traefik.yml
|
|
tags:
|
|
- traefik
|
|
|
|
- name: Copy the compose file
|
|
template:
|
|
src: templates/aya01/compose.yaml
|
|
dest: "{{ docker_compose_dir }}/compose.yaml"
|
|
register: compose
|
|
|
|
- name: Shut down docker
|
|
shell:
|
|
cmd: "docker compose down --remove-orphans"
|
|
chdir: "{{ docker_compose_dir }}"
|
|
when: compose.changed
|
|
|
|
- name: Run docker compose
|
|
shell:
|
|
cmd: "docker compose up -d"
|
|
chdir: "{{ docker_compose_dir }}"
|