fix(sudoers/included): fix idempotence with purge_includedir=True

This commit is contained in:
Stanislav Asunkin 2021-02-20 21:14:26 +03:00
parent 73379d6b23
commit a64bf89777
1 changed files with 2 additions and 0 deletions

View File

@ -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 %}