We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using withbdeps: false with the portage module causes the task to fail.
withbdeps: false
portage
Bug Report
ansible [core 2.14.3] config file = /home/dharding/.config/ansible.cfg configured module search path = ['/home/dharding/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.11/site-packages/ansible ansible collection location = /home/dharding/.ansible/collections:/usr/share/ansible/collections executable location = /usr/lib/python-exec/python3.11/ansible python version = 3.11.2 (main, Mar 16 2023, 10:40:25) [GCC 12.2.1 20230121] (/usr/bin/python3.11) jinja version = 3.1.2 libyaml = True
$ ansible-galaxy collection list community.general # /usr/lib/python3.11/site-packages/ansible_collections Collection Version ----------------- ------- community.general 6.4.0
$ ansible-config dump --only-changed CONFIG_FILE() = /home/[redacted]/.config/ansible.cfg DEFAULT_VAULT_PASSWORD_FILE(env: ANSIBLE_VAULT_PASSWORD_FILE) = /home/[redacted]/.local/bin/get_ansible_vault_pass INTERPRETER_PYTHON(/home/[redacted]/.config/ansible.cfg) = /usr/bin/python3 RETRY_FILES_ENABLED(/home/[redacted]/.config/ansible.cfg) = False
Target OS: Gentoo Linux
- hosts: * become: true tasks: - portage: name: "@world" withbdeps: false
The task would complete successfully.
The task fails due to emerge failing with the following error message:
emerge: error: argument --with-bdeps: expected one argument
The text was updated successfully, but these errors were encountered:
Files identified in the description:
plugins/modules/portage.py
If these files are incorrect, please update the component name section of the description or use the !component bot command.
component name
!component
click here for bot help
Sorry, something went wrong.
cc @Tatsh @wltjr click here for bot help
Successfully merging a pull request may close this issue.
Summary
Using
withbdeps: false
with theportage
module causes the task to fail.Issue Type
Bug Report
Component Name
portage
Ansible Version
Community.general Version
Configuration
OS / Environment
Target OS: Gentoo Linux
Steps to Reproduce
Expected Results
The task would complete successfully.
Actual Results
The task fails due to emerge failing with the following error message:
emerge: error: argument --with-bdeps: expected one argument
Code of Conduct
The text was updated successfully, but these errors were encountered: