Ok, now I have another code in playbook --- - hosts:group1 user:chinkovm sudo:yes gather_facts:yes
tasks: - name: ensure update apt:update_cache=yes - name: ensure upgrade apt:upgrade=full But ansible says about the same error in the same place: in colon of word 'tasks'. On Monday, October 5, 2015 at 3:09:53 PM UTC+3, Brian Coca wrote: > > it should look like this > > tasks: > - name: ensure update > apt:update_cache=yes > - apt:upgrade=full > > You cannot have multiple tasks per task, name is optional but - is not > as it indicates when the 'next task' starts > > > -- > 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/ece77445-7464-444e-b6a3-b477fd863f91%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
