Skip to content
Extraits de code Groupes Projets
Valider 944634fd rédigé par Fanch's avatar Fanch
Parcourir les fichiers

use podman for molecule test

parent ec1dd840
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
---
warn_list:
- git-latest
......@@ -3,7 +3,7 @@
iptables_packages: ['iptables']
iptables_ip_versions: [ 'ipv4', 'ipv6' ]
iptables_ip_versions: ['ipv4', 'ipv6']
iptables_services: ['iptables', 'ip6tables']
......
---
galaxy_info:
role_name: iptables
namespace: air
author: Fanch The System
name: iptables
description: Run iptables on Archlinux
......
FROM docker.io/archlinux/archlinux:base-devel
RUN pacman -Syu --noconfirm
RUN pacman -S --noconfirm python systemd
---
- name: Converge
hosts: all
vars:
iptables_ip_versions: ['ipv4']
iptables_services: ['iptables']
iptables_open_port_in: [80, 443]
tasks:
- name: "Include iptables"
include_role:
name: "iptables"
vars:
iptables_open_port_in: [80, 443]
name: "air.iptables"
---
dependency:
name: galaxy
lint: |
yamllint .
ansible-lint
driver:
name: docker
name: podman
platforms:
- name: archlinux-test
image: fanchthesystem/archlinux-systemd
privileged: true
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
image: archlinux-test-podman
dockerfile: Dockerfile
command: "/sbin/init"
privileged: true
provisioner:
name: ansible
log: true
......
---
- name: Prepare
hosts: all
tasks:
- name: Pacman -Sy
community.general.pacman:
update_cache: yes
upgrade: yes
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter