From d786479bc167fbb8bf95c70ae93d6bb6a1aeeef1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krawczyk?= <616047+kravietz@users.noreply.github.com> Date: Sat, 7 Aug 2021 14:20:52 +0100 Subject: [PATCH] Try to run with systemd --- .github/workflows/main.yml | 12 +++--------- molecule/default/molecule.yml | 3 +++ 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1222cb6..c4cde40 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,18 +12,12 @@ on: jobs: molecule: runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - image: - - alpine - #- centos steps: + - name: checkout uses: actions/checkout@v2 with: path: "${{ github.repository }}" + - name: molecule - uses: robertdebock/molecule-action@2.6.17 - with: - image: "${{ matrix.image }}" \ No newline at end of file + uses: robertdebock/molecule-action@2.6.17 \ No newline at end of file diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 7c15791..94ad3e6 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -6,6 +6,9 @@ driver: platforms: - name: instance image: centos/systemd:latest + privileged: true + volumes: + - /sys/fs/cgroup:/sys/fs/cgroup:ro provisioner: name: ansible verifier: