root
5 years ago
2 changed files with 2 additions and 2 deletions
@ -1,4 +1,4 @@ |
|||||
#!/bin/bash |
#!/bin/bash |
||||
[ `id -u` -ne 0 ] && exit 1 |
[ `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 |
ansible-playbook -i inventory/hosts --skip-tags swarm --diff -v galera.yml |
||||
|
Loading…
Reference in new issue