2025-04-11 13:47:58 +02:00
2025-04-11 13:47:58 +02:00
2025-04-11 13:47:58 +02:00
2025-04-11 13:47:58 +02:00
2025-04-11 13:47:58 +02:00
2025-04-11 13:47:58 +02:00
2022-10-04 12:59:09 +00:00
2022-10-04 12:59:09 +00:00
2025-04-11 13:47:58 +02:00

role_ssh

Secure SSH configuration and manage SSH port

inventory.yml

---

all:
  hosts:
    host1.ykn.local:
    host2.ykn.local:
  children:
    dnsservers:
      hosts:
        dnsmasq1.ykn.local:
        dnsmasq2.ykn.local:

host_vars/host1.ykn.local.yml

---

ssh_listen_port: 2201

playbook.yml

---

- hosts: all
  roles:
    - name: ssh
Description
Secure SSH configuration and manage SSH port
Readme GPL-3.0 48 KiB
Languages
Jinja 100%