Error saying "Package not a legal parameter in an Ansible task or a handler" - Ansible

0 votes

I'm trying to run this command:

ansible-playbook openshift-ansible/playbooks/byo/config.yml

and I'm getting this error:

ERROR: fail is not a legal parameter in an Ansible task or handler

How do I get rid of it?

Jan 8 in Ansible by Neel

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

This has been happening to a lot of people, it's a version bug. Upgrade your ansible version from 1.5.4 to 2.3.0

To upgrade your version, use the following commands:

$ sudo apt-get install software-properties-common
$ sudo apt-add-repository ppa:ansible/ansible
$ sudo apt-get update
$ sudo apt-get install ansible
answered Jan 8 by Takeshi

Related Questions In Ansible

+13 votes
2 answers
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.