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, 2019 in Ansible by Neel
924 views

1 answer to this question.

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, 2019 by Diana

Related Questions In Ansible

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
2 answers
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
3,953 views
+2 votes
1 answer
+1 vote
1 answer
0 votes
1 answer

Error saying "ERROR: ec2_vpc_subnet is not a legal parameter of an Ansible Play"

ec2_vpc_subnet is support from Ansible version 2.0 and ...READ MORE

answered Feb 8, 2019 in Ansible by Dee
1,030 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP