1
0
Fork 0

corrected parameter for replace-module from regex 2 regexp

This commit is contained in:
therojam 2021-05-01 22:33:33 +02:00
parent 658e8a9304
commit d7913fd55b

View file

@ -9,5 +9,5 @@
- name: Disable Password Authentication for ssh.usage - name: Disable Password Authentication for ssh.usage
ansible.builtin.replace: ansible.builtin.replace:
path: /etc/ssh/sshd_config path: /etc/ssh/sshd_config
regex: PasswordAuthentication regexp: PasswordAuthentication
replace: 'PasswordAuthentication no\1' replace: 'PasswordAuthentication no\1'