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: apt is not a legal parameter in an Ansible task or handler #99

Closed
leeyu01 opened this issue Mar 5, 2015 · 3 comments
Closed

Comments

@leeyu01
Copy link

leeyu01 commented Mar 5, 2015

Hi,

I have encountered with an installation error for all-in-one installation on a fresh new debian 7 64bit has been configured and updated completely.

Linux xsb-appmon 3.2.0-4-amd64 #1 SMP Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux

ansible-playbook -i hosts site.yml returned an error
ERROR: apt is not a legal parameter in an Ansible task or handler

My ansible-playbook version is blowl
ansible-playbook --version
ansible-playbook 1.9
configured module search path = None
I'd appreciated on your input.

@tsg
Copy link
Contributor

tsg commented Mar 5, 2015

Seems like a problem with the ansible installation. How did you install ansible?

@leeyu01
Copy link
Author

leeyu01 commented Mar 5, 2015

Yes, it looks like. I have compiled the source.
the binary version, 1.84 works okay.

@leeyu01 leeyu01 closed this as completed Mar 5, 2015
@homme
Copy link

homme commented May 26, 2015

I had this problem whilst using the source distribution. It turned out I'd forgotten to update the git submodules:

git submodule update --init lib/ansible/modules/core
git submodule update --init lib/ansible/modules/extras
git submodule update --init v2/ansible/modules/core
git submodule update --init v2/ansible/modules/extras

ruflin added a commit that referenced this issue Dec 2, 2015
monicasarbu added a commit that referenced this issue Dec 2, 2015
Set statistics to collect in config file
ruflin added a commit that referenced this issue Dec 2, 2015
Use the Beat name in the default configuration file path
tsg pushed a commit to tsg/beats that referenced this issue Jan 20, 2016
Use the Beat name in the default configuration file path
paylm pushed a commit to paylm/beats that referenced this issue Mar 2, 2023
* chore: Updated the content of the file "/var/folders/hn/j6gds1qx1f5by...

... sfn0qp0t03c0000gn/T/updatecli/github/elastic/elastic-agent-libs/.golangci.yml"

Made with ❤️️ by updatecli

* chore: Updated the content of the file "/var/folders/hn/j6gds1qx1f5by...

... sfn0qp0t03c0000gn/T/updatecli/github/elastic/elastic-agent-libs/.go-version"

Made with ❤️️ by updatecli

* chore: Updated the content of the file "/var/folders/hn/j6gds1qx1f5by...

... sfn0qp0t03c0000gn/T/updatecli/github/elastic/elastic-agent-libs/go.mod"

Made with ❤️️ by updatecli

* Update linter in the Github workflows

---------

Co-authored-by: Denis Rechkunov <denis.rechkunov@elastic.co>
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