Some checks failed
Configure Kumonoboru / deploy (push) Failing after 1m8s
24 lines
666 B
YAML
24 lines
666 B
YAML
- hosts: takahe
|
|
gather_facts: yes
|
|
become: yes
|
|
vars:
|
|
ansible_ssh_common_args: '-o StrictHostKeyChecking=no'
|
|
ansible_sudo_pass: "{{ ANSIBLE_SUDO_PASS }}"
|
|
container_dir: /srv/docker
|
|
|
|
tasks:
|
|
- name: Install Docker CE ## From: https://gist.github.com/rbq/886587980894e98b23d0eee2a1d84933, https://docs.docker.com/engine/install/
|
|
include_tasks: docker.yaml
|
|
|
|
- name: Make sure Container directory exists
|
|
ansible.builtin.file:
|
|
path: "{{ container_dir }}"
|
|
state: directory
|
|
|
|
- name: Set up containers
|
|
include_tasks: containers.yaml
|
|
with_items:
|
|
- ddclient
|
|
- prometheus
|
|
- traefik
|