diff --git a/roles/config-nagios-nrpe/tasks/main.yaml b/roles/config-nagios-nrpe/tasks/main.yaml index 8b9a0e2..38b71dd 100644 --- a/roles/config-nagios-nrpe/tasks/main.yaml +++ b/roles/config-nagios-nrpe/tasks/main.yaml @@ -9,11 +9,11 @@ #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # paso1 # install packages for nagios-nrpe -- name: install packages for nagios-nrpe (nagios-nrpe-server nagios-nrpe-plugin) +- name: Install packages for nagios-nrpe (nagios-nrpe-server, nagios-nrpe-plugin) apt: name: "{{ item }}" state: present - with_items: + loop: - nagios-nrpe-server - nagios-nrpe-plugin #++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++