mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2026-08-06 14:36:55 +02:00
Merge a206ad3fbd into 76987a6078
This commit is contained in:
@@ -13,7 +13,7 @@ sshd_config-with-ini:
|
|||||||
{%- if salt['file.contains_regex'](openssh.sshd_config, regex_search_for_tabs) %}
|
{%- if salt['file.contains_regex'](openssh.sshd_config, regex_search_for_tabs) %}
|
||||||
file.replace:
|
file.replace:
|
||||||
- name: {{ openssh.sshd_config }}
|
- name: {{ openssh.sshd_config }}
|
||||||
- pattern: {{ regex_search_for_tabs }}
|
- pattern: {{ "%s" |format(regex_search_for_tabs) }}
|
||||||
- repl: '\1 \2'
|
- repl: '\1 \2'
|
||||||
- show_changes: True
|
- show_changes: True
|
||||||
- require_in:
|
- require_in:
|
||||||
|
|||||||
Reference in New Issue
Block a user