Skip to content

Dependency on ansible>=5.0.0 #455

@Desarc

Description

@Desarc

Is there a reason why this module depends on the ansible package, and not the ansible-core package?

https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#selecting-an-ansible-package-and-version-to-install

We don't use a lot of community modules, so ansible-core with a few selected modules is a good fit for us. But when we install this module, we get all those included community modules anyway, which actually makes things a little trickier (we have to use a custom collection path) if we want specific versions of the community modules we do use (some of which are also included in the ansible package).

pip3 install ansible-modules-hashivault
 Collecting ansible-modules-hashivault
   Downloading ansible-modules-hashivault-5.1.2.tar.gz (80 kB)
      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 80.1/80.1 kB 729.1 kB/s eta 0:00:00
   Preparing metadata (setup.py): started
   Preparing metadata (setup.py): finished with status 'done'
 Collecting ansible>=5.0.0 (from ansible-modules-hashivault)
   Obtaining dependency information for ansible>=5.0.0 from https://files.pythonhosted.org/packages/32/f0/f7a66e975b9edf511e7223fe8d5642b16f1147087d4acc3d1be788267b41/ansible-9.1.0-py3-none-any.whl.metadata
   Downloading ansible-9.1.0-py3-none-any.whl.metadata (7.9 kB)
 ...

This is not a huge issue for us, but I generally sleep better at night knowing my dependencies don't pull a lot of additional unnecessary dependencies along for the ride.

Edit: Also, thanks a lot for this module, it's one of our most used :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions