ERROR! 'ignore_errrors' is not a valid attribute for a Task

46 views
Skip to first unread message

Joanna Delaporte

unread,
Jul 29, 2016, 4:00:12 PM7/29/16
to Ansible Project
Hello,

I have a task that looks like this:
## We need to ignore errors because links won't all be there.
 
- name: migrate group-owned staff files to new GIDs
    shell
: "find /home/staff -gid {{item.0.gid}} -exec chgrp {{item.1.stdout}} \\{\\} +"
    ignore_errrors
: yes
    with_together
:
   
- "{{usergroups}}"
   
- "{{newgroupids.results}}"

But I get the error:
ERROR! 'ignore_errrors' is not a valid attribute for a Task

Any ideas?

Joanna

Kai Stian Olstad

unread,
Jul 29, 2016, 5:29:10 PM7/29/16
to ansible...@googlegroups.com
It's only 2 r's in errors, not 3 ;-)

--
Kai Stian Olstad

Joanna Delaporte

unread,
Jul 29, 2016, 5:42:14 PM7/29/16
to Ansible Project, ansible-pr...@olstad.com
Lol, sometimes it just takes another set of eyes. Thanks!
Reply all
Reply to author
Forward
0 new messages