xoxys.sshd/tasks/main.yml
Robert Kaussow efc4b023fb
All checks were successful
ci/woodpecker/push/lint Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful
refctor: rework ci to ue ansible-lint and fix molecule
2024-08-19 16:06:14 +02:00

15 lines
417 B
YAML

---
- name: Configure sshd
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
vars:
params:
files:
- "ssh_{{ ansible_lsb.id | default('') | lower }}.yml"
- "ssh_{{ ansible_os_family | lower }}.yml"
- "ssh_default.yml"
paths:
- "tasks"
- name: Configure sshd 2FA
ansible.builtin.include_tasks: ssh_2fa.yml
when: sshd_google_auth_enabled | bool