Merge pull request #168 from geerlingguy/167-fix-ci

Fixes #167: Re-order ansible installation so it doesn't break on molecule test.
This commit is contained in:
Jeff Geerling
2020-07-23 12:03:22 -05:00
committed by GitHub
2 changed files with 15 additions and 3 deletions

View File

@@ -84,10 +84,21 @@ jobs:
python-version: ${{ matrix.python_version }}
- name: Install molecule and openshift dependencies
run: pip install molecule yamllint openshift flake8
run: pip install ansible molecule yamllint openshift flake8
- name: Install ansible base (devel branch)
run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check
# The latest release doesn't work with Molecule currently.
# See: https://github.com/ansible-community/molecule/issues/2757
# - name: Install ansible base, latest release.
# run: |
# pip uninstall -y ansible
# pip install --pre ansible-base
# The devel branch doesn't work with Molecule currently.
# See: https://github.com/ansible-community/molecule/issues/2757
# - name: Install ansible base (devel branch)
# run: |
# pip uninstall -y ansible
# pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check
- name: Create default collection path symlink
run: |

View File

@@ -8,6 +8,7 @@ rules:
brackets:
max-spaces-inside: 1
level: error
document-start: disable
line-length: disable
truthy: disable
indentation: