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

install suggested packages with apt module #81173

Open
1 task done
rmbleeker opened this issue Jul 4, 2023 · 1 comment · May be fixed by #81594
Open
1 task done

install suggested packages with apt module #81173

rmbleeker opened this issue Jul 4, 2023 · 1 comment · May be fixed by #81594
Labels
affects_2.16 feature This issue/PR relates to a feature request. has_pr This issue has an associated PR. module This issue/PR relates to a module. waiting_on_contributor This would be accepted but there are no plans to actively work on it.

Comments

@rmbleeker
Copy link

Summary

The ansible.builtin.apt module has an option to install recommended packages with install_recommends, overriding the system default. I think it would be useful to add an install_suggests option to enable installing suggested packages in the same manner. Package suggestions are often documentation or optional libraries or helper programs that can be useful to users of the Ansible managed system.

Issue Type

Feature Idea

Component Name

apt

Additional Information

- name: Install apache2
  ansible.builtin.apt:
    name: apache2
    state: present
    install_suggests: yes

The above example would install apache2-doc and apache2-suexec-pristine alongside apache2 on a Debian 12 system.

Code of Conduct

  • I agree to follow the Ansible Code of Conduct
@ansibot
Copy link
Contributor

ansibot commented Jul 4, 2023

Files identified in the description:

If these files are incorrect, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibot ansibot added affects_2.16 feature This issue/PR relates to a feature request. module This issue/PR relates to a module. needs_triage Needs a first human triage before being processed. labels Jul 4, 2023
@bcoca bcoca added waiting_on_contributor This would be accepted but there are no plans to actively work on it. and removed needs_triage Needs a first human triage before being processed. labels Jul 11, 2023
@kencx kencx linked a pull request Aug 30, 2023 that will close this issue
@ansibot ansibot added the has_pr This issue has an associated PR. label Aug 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects_2.16 feature This issue/PR relates to a feature request. has_pr This issue has an associated PR. module This issue/PR relates to a module. waiting_on_contributor This would be accepted but there are no plans to actively work on it.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants