Browse Source

Extra commits

dev
root 4 years ago
parent
commit
e2d286a596
  1. 2
      ansible_install.sh
  2. 2
      ansible_provisioning.sh

2
ansible_install.sh

@ -2,4 +2,4 @@
[ `id -u` -ne 0 ] && exit 1
echo "deb http://ppa.launchpad.net/ansible/ansible/ubuntu trusty main" >> /etc/apt/sources.list
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 93C4A3FD7BB9C367
apt update && apt install ansible
apt update && apt install -y ansible

2
ansible_provisioning.sh

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

Loading…
Cancel
Save