mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Use harden role on controller host
This commit is contained in:
parent
010c48b243
commit
a2ba31fab2
9 changed files with 44 additions and 29 deletions
|
|
@ -1,4 +1,4 @@
|
|||
#!/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"
|
||||
rsync -avzhe ssh --delete --exclude=.* ./ deploy@ansible.banditlair.com:/home/deploy/ansible && ssh -t deploy@ansible.banditlair.com "cd ansible && $1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue