On 10. aug. 2017 12:49, Sameer Modak wrote:
This is tasks main.yml
vi roles/basic/tasks/main.yml

- name: "Installing VIM and NTP"
   yum: name= {{ item }} state=present

You can't have space in front or after the equal sign.
So correct syntax
  yum: name={{ item }} state=present



--
Kai Stian Olstad

--
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 ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/0d478718-cbb4-9424-c479-ed6760c15871%40olstad.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to