Use jrei/systemd-ubuntu

This commit is contained in:
Paweł Krawczyk 2021-08-08 19:43:58 +01:00
parent a5aa2c6e4a
commit be4f52b728
No known key found for this signature in database
GPG Key ID: 32AF1F39C4EE03F2
3 changed files with 3 additions and 21 deletions

View File

@ -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 }}
uses: robertdebock/molecule-action@2.6.17

View File

@ -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:

View File

@ -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"'