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

Please change handling of apt recommends installing #2401

Open
goetzk opened this issue Aug 29, 2023 · 0 comments
Open

Please change handling of apt recommends installing #2401

goetzk opened this issue Aug 29, 2023 · 0 comments

Comments

@goetzk
Copy link

goetzk commented Aug 29, 2023

I raised this in chat a few days ago and I'm creating the promised feature request.

I discovered apt_install__recommends (which was a setting I didn't realise existed) and apt__install_recommends (which i had configured) are independent of each other. I suggested apt_install__recommends (package installing override) default to apt__install_recommends (apt.conf expressed preference for recommends)

drybjed said that apt_install__recommends variable should be removed if the apt Ansible module will use the APT configuration option correctly. If not, then this would have to be done using Ansible local facts. The apt.fact script can check the status of recommends option, probably using apt-config dump | grep Install-Recommends and return its status, then other roles like apt_install can check the value correctly.

This is probably a good first contribution sort of issue, i will try to come back to it when I have time (if its still hanging around).

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

1 participant