diff options
Diffstat (limited to 'roles/nagios_client/templates')
-rw-r--r-- | roles/nagios_client/templates/etc/sudoers.d/nagios.j2 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/nagios_client/templates/etc/sudoers.d/nagios.j2 b/roles/nagios_client/templates/etc/sudoers.d/nagios.j2 new file mode 100644 index 0000000..039e7a4 --- /dev/null +++ b/roles/nagios_client/templates/etc/sudoers.d/nagios.j2 @@ -0,0 +1,3 @@ +{% for command in nagios_sudo_whitelist %} +{{ nagios_user }} ALL=(root) NOPASSWD: {{ command | replace(':', '\\:') }} +{% endfor %} |