uptime-kuma/ansible/playbook.yml

20 lines
537 B
YAML
Raw Normal View History

- name: install uptime kuma with nginx connected
hosts: all
vars:
pip_install_packages:
- name: docker
2021-10-23 19:20:02 +00:00
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"]}