1
0
Fork 0
mirror of synced 2024-11-22 00:35:36 -05:00

Merge pull request #74 from stasjok/fix-idempotence

fix(sudoers/included): fix idempotence with purge_includedir=True
This commit is contained in:
Éric Veiras Galisson 2021-04-30 17:50:03 +02:00 committed by GitHub
commit 4e8f515ef2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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