Skip to content
Snippets Groups Projects
Commit 448881a4 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: use correct module to regex-replace string in file

parent dc0d6e74
No related branches found
No related tags found
No related merge requests found
Pipeline #8273 passed
---
# man update-crypto-policies for details
- name: make sure that SSH on RHEL respects the custom settings in sshd_config
ansible.builtin.regex_replace:
ansible.builtin.lineinfile:
path: "/etc/sysconfig/sshd"
regexp: "# CRYPTO_POLICY="
line: "CRYPTO_POLICY="
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment