summaryrefslogtreecommitdiffstats
path: root/molecule/ubuntu/molecule.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2025-09-04 00:25:57 +0200
committerAhmed Abdelhalim <[email protected]>2025-09-04 00:25:57 +0200
commit6725e4cc8f4e91b4215813171fa06d365721abed (patch)
tree325a3a3629e11e95a4379e0dab9d6a91b08290ca /molecule/ubuntu/molecule.yml
parent9314a3458a5b3add41cf31c41e8597165943840d (diff)
Refactor molecule testing to run a scenario per distro
Diffstat (limited to 'molecule/ubuntu/molecule.yml')
-rw-r--r--molecule/ubuntu/molecule.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/molecule/ubuntu/molecule.yml b/molecule/ubuntu/molecule.yml
new file mode 100644
index 00000000..a034f7fb
--- /dev/null
+++ b/molecule/ubuntu/molecule.yml
@@ -0,0 +1,40 @@
+---
+role_name_check: 1
+dependency:
+ name: galaxy
+ options:
+ ignore-errors: true
+driver:
+ name: podman
+platforms:
+ - name: ubuntu
+ dockerfile: Dockerfile.j2
+ 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:
+ 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