mirror of
https://github.com/saltstack-formulas/openssh-formula.git
synced 2024-11-27 23:07:53 +01:00
fix(config_ini): stop failing after the first application
The module is called `ini_manage` but the state prefix is `ini`.
This commit is contained in:
parent
54d75b5b8f
commit
c7777c74b2
@ -15,7 +15,7 @@ sshd_config-with-ini:
|
||||
- repl: '\1 \2'
|
||||
- show_changes: True
|
||||
- require_in:
|
||||
- ini_manage: sshd_config-with-ini
|
||||
- ini: sshd_config-with-ini
|
||||
{%- endif %}
|
||||
|
||||
ini.options_present:
|
||||
@ -27,6 +27,4 @@ sshd_config-with-ini:
|
||||
{%- for k,v in sshd_config.items() %}
|
||||
{{ k }}: '{{ v }}'
|
||||
{%- endfor %}
|
||||
- require:
|
||||
- file: sshd_config-with-ini
|
||||
{%- endif %}
|
||||
|
Loading…
Reference in New Issue
Block a user