Commit e4a45c67 authored by nanahira's avatar nanahira

fix

parent b12e118e
Pipeline #12009 failed with stage
in 9 seconds
......@@ -29,6 +29,7 @@
regexp: '^#?UseDNS (true|yes).*$'
line: 'UseDNS no'
backrefs: true
notify: restart_sshd
- name: permit ssh-rsa
become: true
blockinfile:
......@@ -39,3 +40,4 @@
PubkeyAcceptedAlgorithms=+ssh-rsa,ssh-rsa-cert-v01@openssh.com,ssh-xmss-cert-v01@openssh.com,ssh-xmss@openssh.com
marker: '# {mark} MyCard Init block'
when: ansible_distribution == 'Ubuntu' and ansible_distribution_major_version|int >= 22
notify: restart_sshd
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