Hi there,

I am new to ansible, and trying to install httpd using ansible in my test 
setup.

My control machine is Mac, the test server is Centos, I have created user 
with passwordless sudo right.

When I try to run my playbook ansible-playbook playbook.yml I always get 
the following result:

$ansible-playbook playbook.yml


PLAY [all] 
*************************************************************************************************************************


TASK [Gathering Facts] 
*************************************************************************************************************

ok: [web.test.com]


PLAY RECAP 
*************************************************************************************************************************

web.test.com               : ok=1    changed=0    unreachable=0    failed=0  
 



Anything I have missed out?

My task main.yml as follow:

---

-hosts: all

 tasks:

 - name: Installing Httpd

   yum: 

    name:

       - httpd

    state:latest


Thank you,

-- 
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/d5fe5b68-03a9-4e37-a2ed-1c90a8147fad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to