fix(sudoers/included): fix idempotence with purge_includedir=True
This commit is contained in:
parent
73379d6b23
commit
a64bf89777
|
@ -38,5 +38,7 @@ sudoers include {{ included_file }}:
|
||||||
{% if sudoers.manage_main_config %}
|
{% if sudoers.manage_main_config %}
|
||||||
- require:
|
- require:
|
||||||
- file: {{ sudoers.configpath }}/sudoers
|
- file: {{ sudoers.configpath }}/sudoers
|
||||||
|
- require_in:
|
||||||
|
- file: {{ sudoers.includedir }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Reference in New Issue