Skip to content

Commit

Permalink
Spread vertically for improved readability.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jun 25, 2022
1 parent 5178553 commit 113f530
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tasks/plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@
mode: "644"
validate: collectd -C %s -t
register: configured_plugin
when: plugin.config is defined
when:
- plugin.config is defined
notify:
- restart collectd

- name: Append configured plugin to list
ansible.builtin.set_fact:
_new_plugins_configured: "{{ _new_plugins_configured + [ configured_plugin.dest ] }}"
when: plugin.config is defined
when:
- plugin.config is defined

0 comments on commit 113f530

Please sign in to comment.