Remove whitespace

parent abd9ee7d
Pipeline #32467 failed with stage
in 5 minutes and 15 seconds
......@@ -8,4 +8,4 @@
- service
when:
- "ansible_service_mgr != 'sysvinit'"
- "nagios_nrpe_agent_service_state == 'started'"
- "nagios_nrpe_agent_service_state in ['restarted', 'started']"
......@@ -11,19 +11,19 @@
{% if (k in nagios_nrpe_agent_config) and
(nagios_nrpe_agent_config[k] is not none) and
(nagios_nrpe_agent_config[k]|string|length > 0) %}
{{ k }} = {{ nagios_nrpe_agent_config[k] }}
{{ k }}={{ nagios_nrpe_agent_config[k] }}
{% endif %}
{% endfor %}
{% for k in ['allowed_hosts', 'keep_end_vars'] %}
{% if (k in nagios_nrpe_agent_config) and
(nagios_nrpe_agent_config[k]|length > 0) %}
{{ k }} = {{ nagios_nrpe_agent_config[k] | join(', ') }}
{{ k }}={{ nagios_nrpe_agent_config[k] | join(', ') }}
{% endif %}
{% endfor %}
{% if 'commands' in nagios_nrpe_agent_config %}
{% for cmd in nagios_nrpe_agent_config['commands'] %}
command[{{ cmd.name }}] = {{ cmd.command }}
command[{{ cmd.name }}]={{ cmd.command }}
{% endfor %}
{% endif %}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment