summaryrefslogtreecommitdiffstats
path: root/molecule/default/molecule.yml
blob: c0ec4e96be980d2f0500493b6c0957eb1ae0d466 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
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