2021-10-11 20:18:01 +00:00
|
|
|
- name: install uptime kuma with nginx connected
|
|
|
|
hosts: all
|
2021-10-22 18:00:56 +00:00
|
|
|
|
|
|
|
vars:
|
|
|
|
pip_install_packages:
|
|
|
|
- name: docker
|
2021-10-23 19:20:02 +00:00
|
|
|
docker_compose_version: "v2.0.1"
|
2021-10-22 18:00:56 +00:00
|
|
|
|
2021-12-13 21:44:44 +00:00
|
|
|
tasks:
|
|
|
|
- name: Ensure {{inventory_hostname}} is set as hostname
|
|
|
|
hostname:
|
|
|
|
name: "{{inventory_hostname}}"
|
|
|
|
tags: ["hostname"]
|
|
|
|
|
2021-10-11 20:18:01 +00:00
|
|
|
roles:
|
2021-10-22 16:48:51 +00:00
|
|
|
- {role: geerlingguy.docker, tags: ["docker"]}
|
2021-10-22 18:00:56 +00:00
|
|
|
- {role: geerlingguy.pip, tags: ["docker"]}
|
2021-12-13 21:44:44 +00:00
|
|
|
- {role: uptime-kuma, tags: ["kuma"]}
|
2021-10-22 16:48:51 +00:00
|
|
|
- {role: nginx, tags: ["nginx"]}
|