| --- |
| # pxeboot molecule/default/molecule.yml |
| # |
| # SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org> |
| # SPDX-License-Identifier: Apache-2.0 |
| |
| dependency: |
| name: galaxy |
| driver: |
| name: docker |
| platforms: |
| - name: "ubuntu-18.04-priv" |
| image: "quay.io/paulfantom/molecule-systemd:ubuntu-18.04" |
| privileged: true |
| volumes: |
| - "/sys/fs/cgroup:/sys/fs/cgroup:ro" |
| - name: "debian-11-priv" |
| image: "onfinfra/molecule-systemd:debian-11" |
| privileged: true |
| volumes: |
| - "/sys/fs/cgroup:/sys/fs/cgroup:ro" |
| provisioner: |
| name: ansible |
| inventory: |
| host_vars: |
| debian-11-priv: |
| ansible_python_interpreter: /usr/bin/python3 |
| ubuntu-18.04-priv: |
| ansible_python_interpreter: /usr/bin/python3 |
| group_vars: |
| all: |
| pxeboot_hosts: |
| - {domain: 'example.com', hostname: 'server1', serial: 'abc123'} |
| - {domain: 'example.com', hostname: 'server2', serial: 'def456', iface: 'eno2'} |
| - {domain: 'example.com', hostname: 'server3', mac_address: '01:23:45:ab:cd:ef'} |
| verifier: |
| name: ansible |