Skip to content
Snippets Groups Projects
Commit 51fdf83a authored by nimrod's avatar nimrod
Browse files

Ansible: Tweaks for Debian 12.

parent a3ea3389
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
- deb-src - deb-src
ansible.builtin.apt_repository: ansible.builtin.apt_repository:
# yamllint disable-line rule:line-length # yamllint disable-line rule:line-length
repo: '{{ item }} http://deb.debian.org/debian {{ ansible_facts.distribution_release }}-backports main contrib non-free' repo: '{{ item }} http://deb.debian.org/debian {{ ansible_facts.distribution_release }}-backports main contrib non-free non-free-firmware'
state: present state: present
update_cache: true update_cache: true
......
--- ---
- name: Configure the SSH daemon - name: Configure the SSH daemon
with_dict: with_dict:
CASignatureAlgorithms: >-
-ssh-rsa
HostbasedAcceptedKeyTypes: >-
-ssh-rsa
HostKeyAlgorithms: >-
-ssh-rsa
KexAlgorithms: >-
-diffie-hellman-group14-sha1
MACs: >- MACs: >-
-hmac-sha1, -hmac-sha1,
umac-64-etm@openssh.com, umac-64-etm@openssh.com,
...@@ -16,9 +8,6 @@ ...@@ -16,9 +8,6 @@
umac-64@openssh.com umac-64@openssh.com
PermitRootLogin: !!str no PermitRootLogin: !!str no
PasswordAuthentication: !!str no PasswordAuthentication: !!str no
PubkeyAcceptedKeyTypes: >-
-ssh-rsa,
ssh-rsa-cert-v01@openssh.com
ansible.builtin.lineinfile: ansible.builtin.lineinfile:
backup: true backup: true
line: '{{ item.key }} {{ item.value|replace(" ", "") }}' line: '{{ item.key }} {{ item.value|replace(" ", "") }}'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment