nginx.yml file
*****************************
---
- hosts : test
tasks :
- name : install nginx
yum : pkg=nginx state=installed
notify :
- start nginx
handlers :
- name : start nginx
service : name=nginx state=started
*************************************
ansible-playbook nginx.yml
Error:
"msg": "No package matching 'nginx' found available, installed or
updated", "rc": 126,
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/435eca33-ab29-4c11-847e-d6ac1ad3cfb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.