Update deploy_ssh_server_config role for Debian 12 support
This commit is contained in:
parent
f62135e263
commit
23deedf0d6
4 changed files with 139 additions and 2 deletions
|
@ -4,14 +4,15 @@
|
|||
|
||||
block:
|
||||
- name: deploy `sshd_config`
|
||||
ansible.builtin.copy:
|
||||
ansible.builtin.template:
|
||||
force: true
|
||||
dest: /etc/ssh/sshd_config
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: root
|
||||
src: sshd_config
|
||||
src: sshd_config.j2
|
||||
register: deploy_ssh_server_config__ssh_config_copy_result
|
||||
when: inventory_hostname in groups['Debian_CloudInit_VMs']
|
||||
|
||||
- name: deactivate short moduli
|
||||
ansible.builtin.shell:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue