diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b1ae0a3..c696e54 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -12,14 +12,6 @@ on: jobs: test: runs-on: ubuntu-latest - # strategy: - # fail-fast: false - # matrix: - # config: - # - image: centos - # tag: latest - # - image: debian - # tag: latest steps: - name: checkout @@ -28,7 +20,4 @@ jobs: path: "${{ github.repository }}" - name: molecule - uses: robertdebock/molecule-action@2.6.17 - # with: - # image: ${{ matrix.config.image }} - # tag: ${{ matrix.config.tag }} \ 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 a1d6107..f812a2f 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -9,17 +9,11 @@ driver: name: docker platforms: - name: ubuntu-latest - image: ubuntu:latest + image: jrei/systemd-ubuntu:latest - name: centos-latest image: centos/systemd:latest command: /usr/sbin/init privileged: true - # - name: "nftables-${image:-debian}-${tag:-latest}" - # image: "${image:-debian}:${tag:-latest}" - # command: /lib/systemd/systemd - # privileged: true - # volumes: - # - /sys/fs/cgroup:/sys/fs/cgroup:ro provisioner: name: ansible verifier: diff --git a/molecule/default/verify.yml b/molecule/default/verify.yml index 51f4828..6ffd192 100644 --- a/molecule/default/verify.yml +++ b/molecule/default/verify.yml @@ -5,7 +5,7 @@ hosts: all gather_facts: false tasks: - + - name: list rules command: nft list ruleset register: nft @@ -33,4 +33,3 @@ assert: that: - 'status.stdout == "enabled"' -