fix(sudoers/included): fix idempotence with purge_includedir=True
This commit is contained in:
parent
73379d6b23
commit
a64bf89777
1 changed files with 2 additions and 0 deletions
|
@ -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 a new issue