Merge pull request #179 from OrangeDog/patch-2
fix(config_ini): stop failing after the first application
This commit is contained in:
commit
857c7c0cdb
|
@ -15,7 +15,7 @@ sshd_config-with-ini:
|
||||||
- repl: '\1 \2'
|
- repl: '\1 \2'
|
||||||
- show_changes: True
|
- show_changes: True
|
||||||
- require_in:
|
- require_in:
|
||||||
- ini_manage: sshd_config-with-ini
|
- ini: sshd_config-with-ini
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
||||||
ini.options_present:
|
ini.options_present:
|
||||||
|
@ -27,6 +27,4 @@ sshd_config-with-ini:
|
||||||
{%- for k,v in sshd_config.items() %}
|
{%- for k,v in sshd_config.items() %}
|
||||||
{{ k }}: '{{ v }}'
|
{{ k }}: '{{ v }}'
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
- require:
|
|
||||||
- file: sshd_config-with-ini
|
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
|
Loading…
Reference in New Issue