From 4a2b1b918b2a0cb2a2ddb4af0ccfcd24eed4052f Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Mon, 20 Jul 2020 16:25:35 -0500 Subject: [PATCH] Issue #167: Make yamllint less bothersome and install ansible-base in different order. --- .github/workflows/ci.yml | 8 +++++--- .yamllint | 1 + 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c5ebde97..9a77c4db 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -83,12 +83,14 @@ jobs: with: python-version: ${{ matrix.python_version }} - - name: Install ansible base (devel branch) - run: pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check - - name: Install molecule and openshift dependencies run: pip install molecule yamllint openshift flake8 + - name: Install ansible base (devel branch) + run: | + pip uninstall ansible + pip install https://github.com/ansible/ansible/archive/devel.tar.gz --disable-pip-version-check + - name: Create default collection path symlink run: | mkdir -p /home/runner/.ansible diff --git a/.yamllint b/.yamllint index 39cf067b..45b68407 100644 --- a/.yamllint +++ b/.yamllint @@ -8,6 +8,7 @@ rules: brackets: max-spaces-inside: 1 level: error + document-start: disable line-length: disable truthy: disable indentation: