init
This commit is contained in:
commit
59a5b86104
11 changed files with 456 additions and 0 deletions
15
roles/uptime_kuma/tasks/main.yml
Normal file
15
roles/uptime_kuma/tasks/main.yml
Normal file
|
@ -0,0 +1,15 @@
|
|||
- name: Create working directory
|
||||
file:
|
||||
path: /srv/uptime-kuma
|
||||
state: directory
|
||||
|
||||
- name: Copy Docker compose file
|
||||
template:
|
||||
src: "{{ role_path }}/docker-compose.yml.j2"
|
||||
dest: /srv/uptime-kuma/docker-compose.yml
|
||||
|
||||
- name: Deploy Docker compose
|
||||
docker_compose:
|
||||
project_src: /srv/uptime-kuma
|
||||
pull: true
|
||||
remove_orphans: true
|
Reference in a new issue