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

Ensure that apt is always chosen on debian/ubuntu #44413

Merged
merged 1 commit into from
Aug 20, 2018

Conversation

emonty
Copy link
Contributor

@emonty emonty commented Aug 20, 2018

SUMMARY

One can install alternate packages managers on debuntu machines.
However, doing so doesn't mean you want to suddenly start using them.

Add in a check similar to the fedora yum/dnf check that sets apt as the
pkg_mgr if the ansible_os_family is Debian.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

BaseFactCollector

ANSIBLE VERSION
ansible 2.6.2
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/usr/share/ansible']
  ansible python module location = /usr/local/lib/python3.6/dist-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 3.6.5 (default, Apr  1 2018, 05:46:30) [GCC 7.3.0]

@maxamillion
Copy link
Contributor

shipit

One can install alternate packages managers on debuntu machines.
However, doing so doesn't mean you want to suddenly start using them.

Add in a check similar to the fedora yum/dnf check that sets apt as the
pkg_mgr if the ansible_os_family is Debian.
@abadger
Copy link
Contributor

abadger commented Aug 20, 2018

rebuild_merge

@ansibot ansibot added affects_2.7 This issue/PR affects Ansible v2.7 bug This issue/PR relates to a bug. needs_triage Needs a first human triage before being processed. python3 support:core This issue/PR relates to code supported by the Ansible Engineering Team. test This PR relates to tests. labels Aug 20, 2018
@ansibot ansibot merged commit 27ac2fc into ansible:devel Aug 20, 2018
openstack-gerrit pushed a commit to openstack-infra/system-config that referenced this pull request Aug 20, 2018
There is an issue with our nb0* hosts where they have zypper installed
for building suse images but that tricks ansible in to thinking it
should use zypper for package management.

This has been submitted upstream as
ansible/ansible#44413

Change-Id: I96f60501e43bfe9c6acb4ce80f8450b245943ca8
@webknjaz webknjaz removed the needs_triage Needs a first human triage before being processed. label Aug 21, 2018
@dagwieers dagwieers added the packaging Packaging category label Mar 3, 2019
@ansible ansible locked and limited conversation to collaborators Jul 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.7 This issue/PR affects Ansible v2.7 bug This issue/PR relates to a bug. packaging Packaging category python3 support:core This issue/PR relates to code supported by the Ansible Engineering Team. test This PR relates to tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants