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 %}
|
||||
- require:
|
||||
- file: {{ sudoers.configpath }}/sudoers
|
||||
- require_in:
|
||||
- file: {{ sudoers.includedir }}
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in New Issue