]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commit
teleport_ssh_node role for SSH node enrollment wip-teleport-ssh-node
authorAdam Kraitman <akraitma@li-8b09b2cc-35b7-11b2-a85c-cd1dbade58f9.ibm.com>
Mon, 19 Jan 2026 17:23:52 +0000 (19:23 +0200)
committerAdam Kraitman <akraitma@li-8b09b2cc-35b7-11b2-a85c-cd1dbade58f9.ibm.com>
Tue, 3 Feb 2026 20:44:06 +0000 (22:44 +0200)
commit7fe771c0a114ac67e1d6df6e9aaa18bf8c5fd0a3
treec1aff8e2af96aa377f30904bb9770dcacc9f1179
parent5f882734c560e0112eedf2be02b639475c1caedd
teleport_ssh_node role for SSH node enrollment

This adds a new Ansible role that:
- installs Teleport with pinned version
- sets hostname and nodename consistently
- generates teleport.yaml from templates
- joins nodes using token + CA pin
- enables and manages teleport.service
- derives SSH labels from hostname automatically

Designed for repeatable, safe enrollment of SSH nodes into Teleport.

Signed-off-by: Adam Kraitman <akraitma@li-8b09b2cc-35b7-11b2-a85c-cd1dbade58f9.ibm.com>
join-teleport.yml [new file with mode: 0644]
roles/teleport_ssh_node/README.md [new file with mode: 0644]
roles/teleport_ssh_node/defaults/main.yml [new file with mode: 0644]
roles/teleport_ssh_node/handlers/main.yml [new file with mode: 0644]
roles/teleport_ssh_node/meta/main.yml [new file with mode: 0644]
roles/teleport_ssh_node/tasks/config.yml [new file with mode: 0644]
roles/teleport_ssh_node/tasks/facts.yml [new file with mode: 0644]
roles/teleport_ssh_node/tasks/hostname.yml [new file with mode: 0644]
roles/teleport_ssh_node/tasks/install.yml [new file with mode: 0644]
roles/teleport_ssh_node/tasks/main.yml [new file with mode: 0644]
roles/teleport_ssh_node/templates/teleport.yaml.j2 [new file with mode: 0644]