Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ansible
roles
nagios-nrpe-agent
Commits
fc8cb617
Verified
Commit
fc8cb617
authored
Nov 20, 2020
by
Dan Thomson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avoid trying to set values that are null
parent
3b108a7c
Pipeline
#31297
failed
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
templates/etc/nagios/nrpe.cfg.j2
templates/etc/nagios/nrpe.cfg.j2
+1
-1
No files found.
templates/etc/nagios/nrpe.cfg.j2
View file @
fc8cb617
...
...
@@ -4,7 +4,7 @@
{%- if (nagios_nrpe_agent_config[k] is iterable) and
(nagios_nrpe_agent_config[k] is not string) %}
{{ k }}={{ nagios_nrpe_agent_config[k] | join(', ') }}
{%- el
s
e %}
{%- el
if nagios_nrpe_agent_config[k] is not non
e %}
{{ k }}={{ nagios_nrpe_agent_config[k] }}
{%- endif %}
{% endfor %}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment