Merge pull request #30 from fgierlinger/master

Add support for centos8
This commit is contained in:
Jeff Geerling 2020-07-22 11:55:46 -05:00 committed by GitHub
commit 87d185606e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 14 additions and 0 deletions

View File

@ -6,6 +6,7 @@ env:
global:
- ROLE_NAME: pip
matrix:
- MOLECULE_DISTRO: centos8
- MOLECULE_DISTRO: centos7
- MOLECULE_DISTRO: fedora29
- MOLECULE_DISTRO: ubuntu1804

View File

@ -22,6 +22,10 @@ galaxy_info:
- name: Ubuntu
versions:
- all
- name: CentOS
versions:
- 7
- 8
galaxy_tags:
- system
- server

View File

@ -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
View File

@ -0,0 +1,2 @@
---
pip_package: python3-pip