corrected parameter for replace-module from regex 2 regexp
This commit is contained in:
parent
658e8a9304
commit
d7913fd55b
1 changed files with 1 additions and 1 deletions
|
@ -9,5 +9,5 @@
|
|||
- name: Disable Password Authentication for ssh.usage
|
||||
ansible.builtin.replace:
|
||||
path: /etc/ssh/sshd_config
|
||||
regex: PasswordAuthentication
|
||||
regexp: PasswordAuthentication
|
||||
replace: 'PasswordAuthentication no\1'
|
||||
|
|
Loading…
Reference in a new issue