win_ansible_role_sshd/tasks/main.yml

14 lines
393 B
YAML
Raw Normal View History

2022-12-29 04:02:02 +01:00
---
- name: Configure Windows Firewall
2022-12-29 04:20:28 +01:00
ansible.builtin.include_tasks: firewall.yml
2022-12-29 04:16:38 +01:00
2022-12-29 04:20:28 +01:00
- name: Install OpenSSH via Powershell
2022-12-29 04:16:38 +01:00
ansible.builtin.include_tasks: powershell.yml
2022-12-29 16:40:39 +01:00
- name: Add OpenSSH Pubkey Access
ansible.builtin.include_tasks: pubkeys.yml
2022-12-29 18:01:10 +01:00
- name: Add OpenSSH Pubkey Access for user
ansible.builtin.include_tasks: 'other_user_pubkeys.yml'
when: win_sshd_otheruserkeys | bool