Add archlinux platform

This commit is contained in:
Paweł Krawczyk 2021-08-08 23:37:47 +01:00
parent a75f5bc391
commit 0030b9bfcb
No known key found for this signature in database
GPG Key ID: 32AF1F39C4EE03F2
2 changed files with 30 additions and 8 deletions

View File

@ -15,6 +15,9 @@ platforms:
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /run
- /tmp
- name: systemd-centos-latest - name: systemd-centos-latest
image: centos/systemd:latest image: centos/systemd:latest
@ -22,20 +25,33 @@ platforms:
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /run
- /tmp
- name: systemd-debian-latest # - name: systemd-debian-latest
image: jrei/systemd-debian:latest # image: jrei/systemd-debian:latest
command: /sbin/init # command: /sbin/init
privileged: true # privileged: true
volumes: # volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro # - /sys/fs/cgroup:/sys/fs/cgroup:ro
- name: systemd-fedora-latest # - name: systemd-fedora-latest
image: jrei/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 command: /usr/sbin/init
privileged: true privileged: true
volumes: volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro - /sys/fs/cgroup:/sys/fs/cgroup:ro
tmpfs:
- /run
- /tmp
provisioner: provisioner:
name: ansible name: ansible

View File

@ -0,0 +1,6 @@
---
- name: prepare
hosts: archlinux
package:
name: python
update_cache: true