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
77 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 by Diana

Related Questions In Ansible

0 votes
1 answer
0 votes
2 answers
+13 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 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
181 views
0 votes
1 answer
+1 vote
1 answer
0 votes
1 answer