--- # tasks file for roles/galera_swarm - include: prepare_manager_host.yml when: inventory_hostname in groups['manager'] - include: lxc_prepare.yml when: inventory_hostname in groups['manager'] - include: lxc_nodes.yml - include: prepare_worker_host.yml when: inventory_hostname in groups['workers'] - include: swarm.yml tags: swarm - setup: tags: swarm - include: Dockerfile.yml when: inventory_hostname in groups['workers'] tags: swarm - include: deploy.yml when: inventory_hostname in groups['manager'] tags: swarm