add teleport role

This commit is contained in:
2020-08-22 10:02:43 -05:00
parent ba8f63cda4
commit 73a1e1fafc
7 changed files with 122 additions and 0 deletions

View File

@ -0,0 +1,15 @@
# {{ ansible_managed }}
[Unit]
Description=Teleport SSH Service
After=network.target
[Service]
Type=simple
Restart=on-failure
ExecStart=/usr/local/bin/teleport start --roles {{ teleport_roles | join(',') }} --config=/etc/teleport.yaml --pid-file=/run/teleport.pid
ExecReload=/bin/kill -HUP $MAINPID
PIDFile=/run/teleport.pid
[Install]
WantedBy=multi-user.target