mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-06-05 02:56:42 +02:00
Fix regex pattern formatting in config_ini.sls
This commit is contained in:
parent
76987a6078
commit
a206ad3fbd
@ -13,7 +13,7 @@ sshd_config-with-ini:
|
||||
{%- if salt['file.contains_regex'](openssh.sshd_config, regex_search_for_tabs) %}
|
||||
file.replace:
|
||||
- name: {{ openssh.sshd_config }}
|
||||
- pattern: {{ regex_search_for_tabs }}
|
||||
- pattern: {{ "%s" |format(regex_search_for_tabs) }}
|
||||
- repl: '\1 \2'
|
||||
- show_changes: True
|
||||
- require_in:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user