Galera cluster deployment based on docker swarm using Linux Containers (LXC) with automatic deployment via Ansible.
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
---
|
|
|
|
# tasks file for roles/galera_swarm
|
|
|
|
- include: prepare_manager_host.yml
|
|
|
|
tags: configuration
|
|
|
|
when: inventory_hostname in groups['manager']
|
|
|
|
|
|
|
|
- include: lxc_prepare.yml
|
|
|
|
tags: configuration
|
|
|
|
when: inventory_hostname in groups['manager']
|
|
|
|
|
|
|
|
- include: lxc_nodes.yml
|
|
|
|
tags: configuration
|
|
|
|
|
|
|
|
- include: prepare_worker_host.yml
|
|
|
|
tags: configuration
|
|
|
|
when: inventory_hostname in groups['workers']
|
|
|
|
|
|
|
|
- include: swarm.yml
|
|
|
|
tags: swarm
|
|
|
|
|
|
|
|
#- setup:
|
|
|
|
# tags: swarm
|
|
|
|
|
|
|
|
- include: deploy.yml
|
|
|
|
tags: swarm
|
|
|
|
when: inventory_hostname in groups['manager']
|