cs171027
5 years ago
5 changed files with 12 additions and 7 deletions
@ -1,2 +0,0 @@ |
|||
[all:vars] |
|||
ansible_ssh_common_args='-o StrictHostKeyChecking=no -o userknownhostsfile=/dev/null' |
@ -1,4 +1,4 @@ |
|||
#!/bin/bash |
|||
[ `id -u` -ne 0 ] && exit 1 |
|||
test -f ~/.ssh/id_rsa.pub || ssh-keygen -t rsa -b 4096 -N '' -f ~/.ssh/id_rsa |
|||
test -f /root/.ssh/id_rsa.pub || ssh-keygen -t rsa -b 4096 -N '' -f /root/.ssh/id_rsa |
|||
ansible-playbook -i inventory/hosts --skip-tags swarm --diff -v stack.yml |
|||
|
Loading…
Reference in new issue