You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
failed: [#####] (item={'regexp': '^UseDNS', 'line': 'UseDNS no'}) => {"ansible_loop_var": "item", "changed": false, "item": {"line": "UseDNS no", "regexp": "^UseDNS"}, "msg": "failed to validate: rc:255 error:/root/.ansible/tmp/ansible-tmp-1734511177.3833175-1707-278987345813661/tmpwkl_6141 line 135: Directive 'UseDNS' is not allowed within a Match block\r\n"}
Background:
Before, I added a Match block to the sshd_config which once "block" won't get closed
Since the regex to modify the file create new lines on bottom, I run into this problems
The text was updated successfully, but these errors were encountered:
Setting up a new server gave me this error
failed: [#####] (item={'regexp': '^UseDNS', 'line': 'UseDNS no'}) => {"ansible_loop_var": "item", "changed": false, "item": {"line": "UseDNS no", "regexp": "^UseDNS"}, "msg": "failed to validate: rc:255 error:/root/.ansible/tmp/ansible-tmp-1734511177.3833175-1707-278987345813661/tmpwkl_6141 line 135: Directive 'UseDNS' is not allowed within a Match block\r\n"}
Background:
sshd_config
which once "block" won't get closedThe text was updated successfully, but these errors were encountered: