role_keepalived/templates/sudoers.j2

6 lines
125 B
Django/Jinja

# {{ ansible_managed }}
{% for cmd in keepalived_sudoers_cmd %}
keepalived_script ALL=(ALL) NOPASSWD:{{ cmd }}
{% endfor %}