Commit graph

4 commits

Author SHA1 Message Date
Rich Megginson
977f149f1e Fix centos6 repos; use standard centos images; add centos8
Use the new vault.centos.org repos.  Fix the yum repo configs in the
image if necessary to use these new repos.
Use the standard centos images from the centos registry rather than
custom lsr images from dockerhub.
Add support for centos8.  Note that using ansible 2.7 on centos8
requires setting /usr/bin/python3 to be the ansible python
interpreter.  Later versions of ansible have better auto-detection.
We can get rid of this once we drop support for ansible 2.7
Use tox-lsr 1.0.1 - which means we do not need
molecule_extra_requirements.txt

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2021-01-13 23:43:11 +08:00
Rich Megginson
c6b0226bf6 lock ansible-lint version at 4.3.5; suppress role name lint warning
lock the ansible-lint version to use the latest version 4.3.5 which
is compatible with the latest ansible 2.10
This means we need to suppress the error about the role name

Signed-off-by: Rich Megginson <rmeggins@redhat.com>
2020-10-27 11:37:20 +01:00
Till Maas
3188594249 molecule: Hardcode ansible-lint version
This fixes the following traceback:

Traceback (most recent call last):
[...]
  File "/home/travis/build/linux-system-roles/network/.tox/env-3.6/lib/python3.6/site-packages/ansiblelint/utils.py", line 775, in expand_path_vars
    path = path.strip()
AttributeError: 'PosixPath' object has no attribute 'strip'

Reference: https://travis-ci.com/github/linux-system-roles/network/jobs/373270149
2020-08-18 16:47:48 +02:00
Jiri Kucera
ad6cffe19d tox: molecule extra requirements
Pass extra molecule dependencies via file and not via environment
variable. Also add selinux as a permanent molecule dependency
(molecule needs it on selinux enabled systems to setup containers).
2020-01-20 13:23:38 +01:00