From 0030b9bfcb949c9942853c7b82c1f7ab041a0fe0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Krawczyk?= <616047+kravietz@users.noreply.github.com> Date: Sun, 8 Aug 2021 23:37:47 +0100 Subject: [PATCH] Add archlinux platform --- molecule/default/molecule.yml | 32 ++++++++++++++++++++++++-------- molecule/default/prepare.yml | 6 ++++++ 2 files changed, 30 insertions(+), 8 deletions(-) create mode 100644 molecule/default/prepare.yml diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml index 7dbce30..4b86051 100644 --- a/molecule/default/molecule.yml +++ b/molecule/default/molecule.yml @@ -15,6 +15,9 @@ platforms: privileged: true volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro + tmpfs: + - /run + - /tmp - name: systemd-centos-latest image: centos/systemd:latest @@ -22,20 +25,33 @@ platforms: privileged: true volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro + tmpfs: + - /run + - /tmp - - name: systemd-debian-latest - image: jrei/systemd-debian:latest - command: /sbin/init - privileged: true - volumes: - - /sys/fs/cgroup:/sys/fs/cgroup:ro + # - name: systemd-debian-latest + # image: jrei/systemd-debian:latest + # command: /sbin/init + # privileged: true + # volumes: + # - /sys/fs/cgroup:/sys/fs/cgroup:ro - - name: systemd-fedora-latest - image: jrei/systemd-fedora:latest + # - name: systemd-fedora-latest + # image: jrei/systemd-fedora:latest + # command: /usr/sbin/init + # privileged: true + # volumes: + # - /sys/fs/cgroup:/sys/fs/cgroup:ro + + - name: archlinux + image: archlinux:latest command: /usr/sbin/init privileged: true volumes: - /sys/fs/cgroup:/sys/fs/cgroup:ro + tmpfs: + - /run + - /tmp provisioner: name: ansible diff --git a/molecule/default/prepare.yml b/molecule/default/prepare.yml new file mode 100644 index 0000000..6becc85 --- /dev/null +++ b/molecule/default/prepare.yml @@ -0,0 +1,6 @@ +--- +- name: prepare + hosts: archlinux + package: + name: python + update_cache: true \ No newline at end of file