Add changedetection
This commit is contained in:
parent
9cb8f7eb2e
commit
babedfe283
4 changed files with 18 additions and 34 deletions
|
|
@ -22,8 +22,8 @@
|
||||||
- role: pi-hole
|
- role: pi-hole
|
||||||
- role: actual
|
- role: actual
|
||||||
- role: postgres
|
- role: postgres
|
||||||
# - role: wedding
|
- role: wedding
|
||||||
# - role: changedetection
|
- role: changedetection
|
||||||
# - role: monitoring
|
# - role: monitoring
|
||||||
vars:
|
vars:
|
||||||
# devsec.hardening.ssh_hardening vars:
|
# devsec.hardening.ssh_hardening vars:
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,19 @@
|
||||||
---
|
---
|
||||||
- name: Include user role
|
- name: Create a volume
|
||||||
ansible.builtin.include_role:
|
become: true
|
||||||
name: user
|
community.docker.docker_volume:
|
||||||
vars:
|
name: changedetection_data
|
||||||
user_username: "{{ changedetection_username }}"
|
- name: Install the container
|
||||||
user_password: "{{ changedetection_password }}"
|
become: true
|
||||||
- name: Create the changedetection container
|
community.docker.docker_container:
|
||||||
ansible.builtin.include_role:
|
name: changedetection-server
|
||||||
name: podman-container
|
image: "docker.io/dgtlmoon/changedetection.io:{{ changedetection_version }}"
|
||||||
apply:
|
ports:
|
||||||
become: true
|
- "127.0.0.1:5000:5000/tcp"
|
||||||
become_user: "{{ changedetection_username }}"
|
mounts:
|
||||||
vars:
|
- source: changedetection_data
|
||||||
podman_container_name: changedetection-server
|
target: /datastore
|
||||||
podman_container_image: docker.io/dgtlmoon/changedetection.io
|
restart_policy: always
|
||||||
podman_container_tag: "{{ changedetection_version }}"
|
|
||||||
podman_container_publish:
|
|
||||||
- 127.0.0.1:5000:5000
|
|
||||||
podman_simple_container_volumes:
|
|
||||||
- name: changedetection_data
|
|
||||||
mnt: /datastore
|
|
||||||
- name: Include simple-reverse-proxy role
|
- name: Include simple-reverse-proxy role
|
||||||
ansible.builtin.include_role:
|
ansible.builtin.include_role:
|
||||||
name: simple-reverse-proxy
|
name: simple-reverse-proxy
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,2 @@
|
||||||
---
|
---
|
||||||
changedetection_username: changedetection
|
changedetection_version: 0.47.06
|
||||||
changedetection_version: 0.46.03
|
|
||||||
|
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
|
||||||
65363334626534616562376362316134623034396333646361646230313864323562316666623065
|
|
||||||
6464353838306530333366653932646163313963346265310a626664653234323765646338613666
|
|
||||||
30363762326431656635623839623561346332326363646465343263663931303638623239623439
|
|
||||||
6532353332613032390a616464306336313237396163353732363566303761393165643161633165
|
|
||||||
35663362623034396638313738643937353765306262653136313438636239663333336636323765
|
|
||||||
37313635386333323666303164333030616366316439653235353732616637613564623137316635
|
|
||||||
65323965656665633738336632643463653862623836613265663335633336616264333364383438
|
|
||||||
37383038393930656339
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue