diff --git a/library/roles/nagios/tasks/dell-omsa.yml b/library/roles/nagios/tasks/dell-omsa.yml index fd52b37e..f699aa99 100644 --- a/library/roles/nagios/tasks/dell-omsa.yml +++ b/library/roles/nagios/tasks/dell-omsa.yml @@ -73,7 +73,8 @@ tags: [ 'dell', 'nagios' ] - name: Install some standalone plugins - copy: src={{ nagios_dell_standalone_checks }} dest={{ nagios_local_plugdir }}/{{ item }} owner=root group=nagios mode=0750 + copy: src={{ item }} dest={{ nagios_local_plugdir }}/{{ item }} owner=root group=nagios mode=0750 + with_items: '{{ nagios_dell_standalone_checks }}' tags: [ 'dell', 'nagios' ] - name: Install a cron job that removes the leaked semaphores created by the nagios check of Dell hardware status