From 819d554b92b0389646e97f8ab4b08674e6127d1b Mon Sep 17 00:00:00 2001 From: Jeff Geerling Date: Tue, 3 Nov 2020 10:23:14 -0600 Subject: [PATCH] Issue #201: Fix pathing for molecule and re-fix lint issues. --- .ansible-lint | 4 ++-- .github/workflows/ci.yml | 6 +----- tasks/main.yml | 2 +- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index b9798f0..5557294 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -1,2 +1,2 @@ -#skip_list: -# - '106' +skip_list: + - '106' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ec3f9cf..516566b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,11 +66,7 @@ jobs: run: pip3 install molecule[docker] - name: Run Molecule tests. - run: | - ls - cd molecule - ls - molecule test + run: molecule test env: PY_COLORS: '1' ANSIBLE_FORCE_COLOR: '1' diff --git a/tasks/main.yml b/tasks/main.yml index 7a99e78..cdbcb63 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -6,7 +6,7 @@ - name: Include variables for Amazon Linux. include_vars: "AmazonLinux.yml" when: - - ansible_distribution == "Amazon" + - ansible_distribution == "Amazon" - ansible_distribution_major_version == "NA" - name: Define apache_packages.