Commit f29c4d05 authored by Martin's avatar Martin

fix uploadsh args

parent 2d92dc3b
......@@ -2,9 +2,9 @@
set -euo pipefail
host="ansible.rys.pw"
port="10250"
rsync -avz -e "ssh -p $port" hosts root@$host:/etc/ansible/
rsync -avz -e "ssh -p $port" --delete playbooks root@$host:/root/
rsync -avz -e "ssh -p $port" --delete serverPlaybooks root@$host:/root/
rsync -avz -e "ssh -p $port" ./unit_files/* root@$host:/etc/systemd/system/
rsync -avzz -e "ssh -p $port" hosts root@$host:/etc/ansible/
rsync -avzz -e "ssh -p $port" --delete playbooks root@$host:/root/
rsync -avzz -e "ssh -p $port" --delete serverPlaybooks root@$host:/root/
rsync -avzz -e "ssh -p $port" ./unit_files/* root@$host:/etc/systemd/system/
ssh -p $port root@$host "systemctl daemon-reload"
echo "All OK!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment