mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-30 18:24:03 +00:00
7af628211e
this is required because of configuration files should be present.
19 lines
537 B
YAML
19 lines
537 B
YAML
- name: install uptime kuma with nginx connected
|
|
hosts: all
|
|
|
|
vars:
|
|
pip_install_packages:
|
|
- name: docker
|
|
docker_compose_version: "v2.0.1"
|
|
|
|
tasks:
|
|
- name: Ensure {{inventory_hostname}} is set as hostname
|
|
hostname:
|
|
name: "{{inventory_hostname}}"
|
|
tags: ["hostname"]
|
|
|
|
roles:
|
|
- {role: geerlingguy.docker, tags: ["docker"]}
|
|
- {role: geerlingguy.pip, tags: ["docker"]}
|
|
- {role: nginx, tags: ["nginx"]}
|
|
- {role: uptime-kuma, tags: ["kuma"]}
|