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