Merge "Execute traefik systemd unit over ssh" into stable/train

This commit is contained in:
Zuul 2020-02-21 02:05:28 +00:00 committed by Gerrit Code Review
commit a75d8be424
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