3ed814e21f
It allows to take the same rules as the former puppet-auditd, ensuring the order is respected. Note: this isn't a 1:1 port of the puppet-auditd. While the actual rules parameter is 100% compatible, the auditd configuration isn't, and uses a simple dict to apply configurations (tripleo_auditd_config). Closes-Bug: #1964733 Change-Id: I725de465cfe62550288f8780057f54443722e6c1
7 lines
231 B
Django/Jinja
7 lines
231 B
Django/Jinja
# File managed by tripleo_ansible
|
|
{% set rules = tripleo_auditd_rules|dict2items|sort(attribute='value.order') %}
|
|
{% for rule in rules %}
|
|
# {{ rule['value']['order'] }} {{ rule['key'] }}
|
|
{{ rule['value']['content'] }}
|
|
{% endfor %}
|