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.

5 lines
207 B

5 years ago
#!/bin/bash
[ `id -u` -ne 0 ] && exit 1
5 years ago
test -f /root/.ssh/id_rsa.pub || ssh-keygen -t rsa -b 4096 -N '' -f /root/.ssh/id_rsa
4 years ago
ansible-playbook -i inventory/hosts --skip-tags swarm --diff -v swarm-galera.yml