fixup
This commit is contained in:
parent
5dd57aa2a7
commit
57a88c10ea
|
@ -13,6 +13,12 @@ fi
|
|||
if [ ! -d "/opt/ansible" ] ; then
|
||||
mkdir /opt/ansible
|
||||
fi
|
||||
if [ ! -d "/opt/ansible/.git" ] ; then
|
||||
git clone https://git.kemonine.info/PiFrame/ansible.git /opt/ansible/
|
||||
else
|
||||
cd /opt/ansible
|
||||
git pull
|
||||
fi
|
||||
if [ ! -f "/opt/ansible/ssh.key" ] ; then
|
||||
ssh-keygen -t rsa -b 4096 -f /opt/ansible/ssh.key -N ''
|
||||
echo "
|
||||
|
@ -22,12 +28,6 @@ cat /opt/ansible/ssh.key.pub
|
|||
echo "-------------------------------------
|
||||
"
|
||||
fi
|
||||
if [ ! -d "/opt/ansible/.git" ] ; then
|
||||
git clone https://git.kemonine.info/PiFrame/ansible.git /opt/ansible/
|
||||
else
|
||||
cd /opt/ansible
|
||||
git pull
|
||||
fi
|
||||
|
||||
####################
|
||||
# WireGuard
|
||||
|
|
|
@ -23,7 +23,7 @@ sudo docker run -it \
|
|||
-v /lib/modules:/lib/modules:ro \
|
||||
-v /var/piframefleet/syncthing:/opt/syncthing \
|
||||
-v /var/piframefleet/filebrowser:/opt/filebrowser \
|
||||
-v /var/piframefleet/wireguard:/var/wireguard \
|
||||
-v /var/piframefleet/wireguard:/opt/wireguard \
|
||||
-v /var/piframefleet/ansible:/opt/ansible \
|
||||
-v /var/piframefleet/pictures:/opt/pictures \
|
||||
piframe/piframefleet:latest
|
||||
|
|
Loading…
Reference in a new issue