Error saying "ERROR: ufw is not a legal parameter in an Ansible task or handler"

0 votes

I'm trying to execute ansible installation using the following command:

ansible-playbook -i hosts ruby-webapp.yml -t swap,ruby,deploy,mysql,nginx,ufw,import_data

and I end up with this error:

ERROR: ufw is not a legal parameter in an Ansible task or handle
Feb 4 in Ansible by Neel
43 views

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

Hey @Neel, you're probably running an older version of ansible, execute the following commands to get the latest version:

$sudo apt-get remove ansible
$sudo easy_install pip
$sudo pip install ansible
answered Feb 4 by Diana

Related Questions In Ansible

0 votes
1 answer
+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.