Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: become_user is not a legal parameter in an Ansible task or handler #2

Closed
BackIsBachus opened this issue Dec 29, 2015 · 3 comments

Comments

@BackIsBachus
Copy link
Contributor

Hello,

I tried to deploy RocketChat on Debian Jessie using Ansible but when I run my playbook (which is the one used in your README) I get the following output:

 [WARNING]: It is unnecessary to use '{{' in loops, leave variables in loop
expressions bare.

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

I am trying to install it on localhost (since it's just as a test), and I already managed to run a few simple playbooks on localhost before.
I have installed Ansible from the deb package manager so I am in 1.7.2 (I am quite new to Ansible too so it may also be an Ansible problem from my side unrelated to this).

Thanks!

@cmacrae
Copy link

cmacrae commented Dec 29, 2015

Hey! Thanks for taking the time to raise this issue.
The reason you're seeing this problem is because your Ansible version is too old.
The become module was introduced in Ansible 1.9.4 - which is the version you should be running.

See Ansible's installation documentation to get 1.9.4 installed 👍

@cmacrae cmacrae closed this as completed Dec 29, 2015
@gneutzling
Copy link

I had this problema and I did an upgrade to ansible 1.9.2 with using homebrew and worked fine.

@cmacrae
Copy link

cmacrae commented Jan 25, 2016

@gneutzling Ansible 1.9.4 is still the minimum version required to run the Ansible 1 version of this code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants