cjsteel.pip

pip

ERRORS

On the Fedora Docker image

    TASK [cjsteel.pip : install pip3 requirements] *********************************
    FAILED - RETRYING: install pip3 requirements (3 retries left).
    FAILED - RETRYING: install pip3 requirements (2 retries left).
    FAILED - RETRYING: install pip3 requirements (1 retries left).
    fatal: [python_pip-fedora-latest]: FAILED! => {"attempts": 3, "changed": false, "failures": ["No package python3-venv available."], "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
    
    PLAY RECAP *********************************************************************
    python_pip-fedora-latest   : ok=1    changed=0    unreachable=0    failed=1    skipped=1    rescued=0    ignored=0
    
ERROR: 

TODO: Build Status

The purpose of this role is to install and set up pip on your system.

TODO: Unit tests are done with each update and regularly.

If you find any issues, please report them on GitHub.

To test this role on your computer, please use Molecule:

# Docker test:
pip install molecule ara
molecule test
# Vagrant tests
molecule test --scenario-name vagrant

There are many scenarios available; please check the molecule/ directory.

Context

This role is part of a set of compatible roles.

Requirements

  • A target system or virtual machine with the necessary packages to run Ansible.
  • Access to any repository that includes required packages.
  • A recent version of Ansible. (Created with Ansible 2.8.2)

Role Variables

  • pip_parameter: Description of values. [default: value]

Dependencies

  • None known.

Compatibility

This role has been tested on the following systems and Ansible versions:

distribution ansible 2.8.2 ansible 2.9. ansible 3.0 ansible 3.1 ansible devel
alpine-edge* *
alpine-latest *
archlinux *
centos-6 *
centos-latest *
debian-latest *
debian-stable *
debian-unstable* *
fedora-latest *
fedora-rawhide* *
opensuse-leap *
ubuntu-artful *
ubuntu-devel* *
ubuntu-latest *

A single star means the build may fail; it's labeled as experimental.

Example Playbook

---
- name: pip
  hosts: all
  gather_facts: no
  become: yes

  roles:
    - role: cjsteel.bootstrap
    - role: cjsteel.pip
      pip_parameter: value

To install this role:

  • Use ansible-galaxy install cjsteel.pip to install it individually.

Sample roles/requirements.yml (install with ansible-galaxy install -r roles/requirements.yml):

---
- name: cjsteel.bootstrap
- name: cjsteel.pip

Testing

Molecule testing and logging options

Set the environment variable MOLECULE_DEBUG to log errors. Alternatively, you can debug manually using the --debug flag. Here’s an example for the vagrant scenario:

molecule --debug create -s vagrant

License

Apache License, Version 2.0

Author Information

Christopher Steel chris.steel@gmail.com

This role was created using a modified version of Robert de Bock's excellent ansible-role-skeleton.

Check Robert's personal site for many examples of high-quality, flexible Linux roles.

Other collections of valuable public Ansible roles:

Informazioni sul progetto

Install and configure pip on your system.

Installa
ansible-galaxy install cjsteel.pip
Licenza
apache-2.0
Download
136
Proprietario
These repositories are under heavy development. Some less dynamic projects are available at https://github.com/csteel