[root@tool]# ansible-playbook -i hosts install/nagios.yml
PLAY [all] *******************************************************************************************************************************************
TASK [Gathering Facts] *******************************************************************************************************************************
ok: [10.60.12.243]
TASK [nagios-client : Import EPEL GPG Key] ***********************************************************************************************************
changed: [10.60.12.243]
TASK [nagios-client : Check for EPEL repo] ***********************************************************************************************************
ok: [10.60.12.243]
TASK [nagios-client : Install NRPE and Common Plugins] ***********************************************************************************************
failed: [10.60.12.243] (item=[u'nrpe', u'nagios-plugins-load', u'nagios-plugins-nrpe', u'nagios-plugins-uptime', u'nagios-plugins-swap', u'nagios-plugins-procs', u'nagios-plugins-users', u'nagios-plugins-disk', u'nagios-plugins-tcp', u'libsemanage-python']) => {"changed": false, "failed": true, "item": ["nrpe", "nagios-plugins-load", "nagios-plugins-nrpe", "nagios-plugins-uptime", "nagios-plugins-swap", "nagios-plugins-procs", "nagios-plugins-users", "nagios-plugins-disk", "nagios-plugins-tcp", "libsemanage-python"], "msg": "No package matching 'nrpe' found available, installed or updated", "rc": 126, "results": ["No package matching 'nrpe' found available, installed or updated"]}
to retry, use: --limit @/tmp/Ansible-Nagios-with-Graphs-master/install/nagios.retry
PLAY RECAP *******************************************************************************************************************************************
10.60.12.243 : ok=3 changed=1 unreachable=0 failed=1