tasks is list, so each one needs to be preceded by a dash '-'

hosts: all
user: root
tasks:
  - apt: name=fortune state=installed




-- 
Brian Coca

-- 
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/CAJ5XC8nMhqjpou%2BS4r%2BPbJVf%2BwvJYqErrCrcu%3DyuxrbtX_oaFQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to