Skip to content

Commit

Permalink
Merge pull request #29 from pycontribs/fix/distros
Browse files Browse the repository at this point in the history
Enabled testing with centos:8 and debian:latest
  • Loading branch information
ssbarnea authored Oct 14, 2019
2 parents 4efa410 + 696c91b commit b5c0a19
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tests/roles/ensure-ansible/molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,13 @@ platforms:
https_proxy: "${https_proxy}"
no_proxy: "${no_proxy}"

- name: centos8
hostname: centos8
image: centos:8
dockerfile: ../Dockerfile.j2
env:
<<: *env

- name: fedora
hostname: fedora
image: fedora:latest
Expand All @@ -36,6 +43,13 @@ platforms:
env:
<<: *env

- name: debian
hostname: debian
image: debian:latest
dockerfile: ../Dockerfile.j2
env:
<<: *env

provisioner:
name: ansible
env:
Expand Down
15 changes: 15 additions & 0 deletions tests/roles/ensure-ansible/vars/centos-8.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# packages to be installed ASAP, like those enabling new repos
pre_packages:
# - epel-release # needed for python2-pip
- sudo

packages:
- bash
- rsync
- gcc # compiling psutil
- python3
- python3-devel
- python3-libselinux
- python3-pip

python_exec: python3
File renamed without changes.

0 comments on commit b5c0a19

Please sign in to comment.