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: actual
|
||||
- role: postgres
|
||||
# - role: wedding
|
||||
# - role: changedetection
|
||||
- role: wedding
|
||||
- role: changedetection
|
||||
# - role: monitoring
|
||||
vars:
|
||||
# devsec.hardening.ssh_hardening vars:
|
||||
|
|
|
|||
|
|
@ -1,25 +1,19 @@
|
|||
---
|
||||
- name: Include user role
|
||||
ansible.builtin.include_role:
|
||||
name: user
|
||||
vars:
|
||||
user_username: "{{ changedetection_username }}"
|
||||
user_password: "{{ changedetection_password }}"
|
||||
- name: Create the changedetection container
|
||||
ansible.builtin.include_role:
|
||||
name: podman-container
|
||||
apply:
|
||||
- name: Create a volume
|
||||
become: true
|
||||
become_user: "{{ changedetection_username }}"
|
||||
vars:
|
||||
podman_container_name: changedetection-server
|
||||
podman_container_image: docker.io/dgtlmoon/changedetection.io
|
||||
podman_container_tag: "{{ changedetection_version }}"
|
||||
podman_container_publish:
|
||||
- 127.0.0.1:5000:5000
|
||||
podman_simple_container_volumes:
|
||||
- name: changedetection_data
|
||||
mnt: /datastore
|
||||
community.docker.docker_volume:
|
||||
name: changedetection_data
|
||||
- name: Install the container
|
||||
become: true
|
||||
community.docker.docker_container:
|
||||
name: changedetection-server
|
||||
image: "docker.io/dgtlmoon/changedetection.io:{{ changedetection_version }}"
|
||||
ports:
|
||||
- "127.0.0.1:5000:5000/tcp"
|
||||
mounts:
|
||||
- source: changedetection_data
|
||||
target: /datastore
|
||||
restart_policy: always
|
||||
- name: Include simple-reverse-proxy role
|
||||
ansible.builtin.include_role:
|
||||
name: simple-reverse-proxy
|
||||
|
|
|
|||
|
|
@ -1,3 +1,2 @@
|
|||
---
|
||||
changedetection_username: changedetection
|
||||
changedetection_version: 0.46.03
|
||||
changedetection_version: 0.47.06
|
||||
|
|
|
|||
|
|
@ -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