summaryrefslogtreecommitdiffstats
path: root/roles/static_inventory/templates/ssh-tunnel.service.j2
diff options
context:
space:
mode:
authorTomas Sedovic <tomas@sedovic.cz>2017-10-27 17:27:51 +0200
committerTomas Sedovic <tomas@sedovic.cz>2017-11-07 14:35:46 +1100
commit63fb0c74fcb0adf4cd3b0b2b5d30e34e29a58796 (patch)
tree59402c2bb8fb25ed194f08d9a6dccc8d40488d53 /roles/static_inventory/templates/ssh-tunnel.service.j2
parent4ed9aef6f8ed0850e70b498e780d0d8e22bc277f (diff)
downloadopenshift-63fb0c74fcb0adf4cd3b0b2b5d30e34e29a58796.tar.gz
openshift-63fb0c74fcb0adf4cd3b0b2b5d30e34e29a58796.tar.bz2
openshift-63fb0c74fcb0adf4cd3b0b2b5d30e34e29a58796.tar.xz
openshift-63fb0c74fcb0adf4cd3b0b2b5d30e34e29a58796.zip
Remove the extra roles
The `openstack-stack` role is now under `openshift_openstack` and the `openstack-create-cinder-registry` one will be added there, later.
Diffstat (limited to 'roles/static_inventory/templates/ssh-tunnel.service.j2')
-rw-r--r--roles/static_inventory/templates/ssh-tunnel.service.j220
1 files changed, 0 insertions, 20 deletions
diff --git a/roles/static_inventory/templates/ssh-tunnel.service.j2 b/roles/static_inventory/templates/ssh-tunnel.service.j2
deleted file mode 100644
index 0d1cf8f79..000000000
--- a/roles/static_inventory/templates/ssh-tunnel.service.j2
+++ /dev/null
@@ -1,20 +0,0 @@
-[Unit]
-Description=Set up ssh tunneling for OpenShift cluster UI
-After=network.target
-
-[Service]
-ExecStart=/usr/bin/ssh -NT -o \
- ServerAliveInterval=60 -o \
- UserKnownHostsFile=/dev/null -o \
- StrictHostKeyChecking=no -o \
- ExitOnForwardFailure=no -i \
- {{ private_ssh_key }} {{ ssh_user }}@{{ hostvars['bastion'].ansible_host }} \
- -L 0.0.0.0:{{ ui_port }}:{{ target_ip }}:{{ ui_port }}
-
-
-# Restart every >2 seconds to avoid StartLimitInterval failure
-RestartSec=5
-Restart=always
-
-[Install]
-WantedBy=multi-user.target