Use jrei/systemd-ubuntu
This commit is contained in:
parent
a5aa2c6e4a
commit
be4f52b728
|
@ -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
|
|
@ -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:
|
||||
|
|
|
@ -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"'
|
||||
|
||||
|
|
Loading…
Reference in New Issue