Merge "Execute traefik systemd unit over ssh"

This commit is contained in:
Zuul 2020-02-03 14:35:23 +00:00 committed by Gerrit Code Review
commit 63e8121652
1 changed files with 4 additions and 3 deletions

View File

@ -199,6 +199,7 @@ chmod 0644 ${INGRESS_TRAEFIK_SERVICE}
# Launch the ingress traefik service
set -x
systemctl daemon-reload
systemctl enable ingress-traefik.service
systemctl start --no-block ingress-traefik.service
ssh_cmd="ssh -F /srv/magnum/.ssh/config root@localhost"
$ssh_cmd systemctl daemon-reload
$ssh_cmd systemctl enable ingress-traefik.service
$ssh_cmd systemctl start --no-block ingress-traefik.service