Ansible role to manage python package with pip on debian-based systems. https://ednz.fr
Go to file
2023-03-15 22:32:18 +01:00
defaults improvements, not tested yet, not published 2023-03-15 22:32:18 +01:00
handlers added skeleton 2023-03-14 23:23:33 +01:00
meta improvements, not tested yet, not published 2023-03-15 22:32:18 +01:00
molecule/default improvements, not tested yet, not published 2023-03-15 22:32:18 +01:00
tasks improvements, not tested yet, not published 2023-03-15 22:32:18 +01:00
vars improvements, not tested yet, not published 2023-03-15 22:32:18 +01:00
.ansible-lint added skeleton 2023-03-14 23:23:33 +01:00
.gitignore added skeleton 2023-03-14 23:23:33 +01:00
.yamllint added skeleton 2023-03-14 23:23:33 +01:00
LICENSE added skeleton 2023-03-14 23:23:33 +01:00
README.md improvements, not tested yet, not published 2023-03-15 22:32:18 +01:00

Manage pip packages

This repository is only a mirror. Development and testing is done on a private gitlab server.

This role enables you to manage python packages on debian-based distributions. It can be used on its own , or be called by other roles the install/remove packages on demand.

Requirements

None.

Role Variables

Available variables are listed below, along with default values. A sample file for the default values is available in default/hashicorp_consul.yml.sample in case you need it for any group_vars or host_vars configuration.

hashi_consul_install: true # by default, set to true

This variable defines if the consul package is to be installed or not before configuring. If you install consul using another task, you can set this to false.

Dependencies

This role requires both ednxzu.manage_repositories and ednxzu.manage_apt_packages to install consul. If you already installed consul, you can set hashi_consul_install to false, and that'll remove the dependencies.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

# calling the role inside a playbook with either the default or group_vars/host_vars
- hosts: servers
  roles:
    - ednxzu.manage_pip_packages

License

MIT / BSD

Author Information

This role was created by Bertrand Lanson in 2023.