Commit 734d8607 authored by nanahira's avatar nanahira

fix

parent 00d929c2
Pipeline #26745 failed with stage
in 4 minutes and 3 seconds
......@@ -38,7 +38,7 @@
HostKeyAlgorithms=+ssh-rsa,ssh-rsa-cert-v01@openssh.com
PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-rsa-cert-v01@openssh.com
marker: '# {mark} MyCard Init block'
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >= 22
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >= 22 or ansible_distribution == 'Debian' and ansible_distribution_major_version|int >= 12
notify: restart_sshd
- name: permit ssh-rsa
become: true
......@@ -48,4 +48,4 @@
HostKeyAlgorithms +ssh-rsa
PubkeyAcceptedKeyTypes +ssh-rsa
marker: '# {mark} MyCard Init block'
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >= 22
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >= 22 or ansible_distribution == 'Debian' and ansible_distribution_major_version|int >= 12
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment