mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
4 lines
176 B
Bash
Executable file
4 lines
176 B
Bash
Executable file
#!/bin/bash
|
|
DIRECTORY=`dirname $0`
|
|
cd DIRECTORY/..
|
|
rsync -avzhe ssh --delete --exclude=.* ./ root@163.172.145.22:/root/ansible && ssh -t root@163.172.145.22 "cd ansible && $1"
|