add change detection
This commit is contained in:
19
roles/docker/tasks/changedetection.yml
Normal file
19
roles/docker/tasks/changedetection.yml
Normal file
@ -0,0 +1,19 @@
|
||||
- name: make changedetection directories
|
||||
ansible.builtin.file:
|
||||
path: "{{ item}}"
|
||||
state: directory
|
||||
loop:
|
||||
- /opt/stacks/changedetection
|
||||
|
||||
- name: Template out the compose file
|
||||
ansible.builtin.template:
|
||||
src: changedetection-compose.yml.j2
|
||||
dest: /opt/stacks/changedetection/compose.yml
|
||||
owner: root
|
||||
mode: 644
|
||||
|
||||
- name: deploy changedetection stack
|
||||
community.docker.docker_compose_v2:
|
||||
project_src: /opt/stacks/changedetection
|
||||
files:
|
||||
- compose.yml
|
@ -146,6 +146,10 @@
|
||||
import_tasks: dawarich.yml
|
||||
tags: dawarich
|
||||
|
||||
- name: Install beaver
|
||||
import_tasks: beaver.yml
|
||||
tags: beaver
|
||||
#- name: Install beaver
|
||||
# import_tasks: beaver.yml
|
||||
# tags: beaver
|
||||
|
||||
- name: Install changedetection
|
||||
import_tasks: changedetection.yml
|
||||
tags: changedetection
|
Reference in New Issue
Block a user