Skip to content
Snippets Groups Projects
Commit 9503ae87 authored by jurgenhaas's avatar jurgenhaas
Browse files

Optimize code

parent e72026bd
No related branches found
No related tags found
No related merge requests found
......@@ -10,7 +10,6 @@ sd_agent_key: ''
sd_logging_level: 'info'
sd_alert_cleanup: no
sd_force_update: yes
sd_plugins: []
sd_groups:
apache: 'none'
mysql: 'none'
......
......@@ -41,8 +41,7 @@
copy:
src={{ sd_plugins_files_dir }}/{{ item }}
dest={{ sd_agent_plugins_dir }}/{{ item }}
with_items: '{{ sd_plugins }}'
when: sd_plugins|length > 0
with_items: '{{ sd_plugins|default([]) }}'
notify: "ServerDensity | Restart Agent"
- name: "ServerDensity | Configure The Agent"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment