mirror of
https://github.com/geerlingguy/ansible-role-pip.git
synced 2024-11-15 10:35:10 +01:00
commit
87d185606e
@ -6,6 +6,7 @@ env:
|
||||
global:
|
||||
- ROLE_NAME: pip
|
||||
matrix:
|
||||
- MOLECULE_DISTRO: centos8
|
||||
- MOLECULE_DISTRO: centos7
|
||||
- MOLECULE_DISTRO: fedora29
|
||||
- MOLECULE_DISTRO: ubuntu1804
|
||||
|
@ -22,6 +22,10 @@ galaxy_info:
|
||||
- name: Ubuntu
|
||||
versions:
|
||||
- all
|
||||
- name: CentOS
|
||||
versions:
|
||||
- 7
|
||||
- 8
|
||||
galaxy_tags:
|
||||
- system
|
||||
- server
|
||||
|
@ -1,4 +1,11 @@
|
||||
---
|
||||
- name: Gather OS specific variables.
|
||||
include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||
- "vars/{{ ansible_distribution }}.yml"
|
||||
- "defaults/main.yml"
|
||||
|
||||
- name: Ensure Pip is installed.
|
||||
package:
|
||||
name: "{{ pip_package }}"
|
||||
|
2
vars/CentOS-8.yml
Normal file
2
vars/CentOS-8.yml
Normal file
@ -0,0 +1,2 @@
|
||||
---
|
||||
pip_package: python3-pip
|
Loading…
Reference in New Issue
Block a user