1
0
Fork 0
mirror of synced 2024-12-29 17:33:21 -05:00

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

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