summaryrefslogtreecommitdiffstats
path: root/molecule/default/molecule.yml
diff options
context:
space:
mode:
authorAhmed AbdelHalim <[email protected]>2025-08-11 00:32:00 +0200
committerAhmed AbdelHalim <[email protected]>2025-08-11 00:32:00 +0200
commit5378856a4d171815e800671db07365c6e9fbf496 (patch)
tree8f0bded9360fde2cb6779d4e8cd50d41a3741c4c /molecule/default/molecule.yml
parent36f51ca34f718239d2618ae5d027a7d5d366f864 (diff)
Add network role
Diffstat (limited to 'molecule/default/molecule.yml')
-rw-r--r--molecule/default/molecule.yml41
1 files changed, 41 insertions, 0 deletions
diff --git a/molecule/default/molecule.yml b/molecule/default/molecule.yml
new file mode 100644
index 00000000..c0ec4e96
--- /dev/null
+++ b/molecule/default/molecule.yml
@@ -0,0 +1,41 @@
+---
+role_name_check: 1
+dependency:
+ name: galaxy
+ options:
+ ignore-errors: true
+driver:
+ name: podman
+platforms:
+ - name: instance
+ image: ${MOLECULE_DISTRO:-archlinux}
+ dockerfile: Dockerfile.${MOLECULE_DISTRO:-archlinux}.j2
+ platform: "${MOLECULE_PLATFORM:-linux/amd64}"
+ pre_build_image: false
+ privileged: true
+ command: ${MOLECULE_COMMAND:-"/lib/systemd/systemd"}
+ tmpfs:
+ "/tmp": "rw"
+ "/run": "rw,exec"
+ volumes:
+ - "/sys/fs/cgroup:/sys/fs/cgroup:rw"
+ cgroupns_mode: host
+provisioner:
+ name: ansible
+ inventory:
+ links:
+ host_vars: "../../host_vars/"
+ group_vars: "../../group_vars/"
+ env:
+ MOLECULE_DISTRO: "${MOLECULE_DISTRO:-archlinux}"
+ ANSIBLE_ROLES_PATH: "../../roles"
+ config_options:
+ defaults:
+ callback_result_format: yaml
+ interpreter_python: /usr/bin/python3
+ ssh_connection:
+ pipelining: true
+ playbooks:
+ converge: converge.yml
+verifier:
+ name: ansible