ansible/roles/docker-cluster/tasks/main.yml

14 lines
380 B
YAML

---
- import_tasks: install-docker-ce.yml
when: ansible_distribution == "Ubuntu" and ansible_distribution_version == "18.04"
- import_tasks: install-docker-io.yml
when: ansible_distribution == "Ubuntu" and ansible_distribution_version != "18.04"
- import_tasks: nfs-client.yml
- import_tasks: hearthbeat.yml
- import_tasks: hostfile.yml
- import_tasks: docker-watcher.yml