blob: bb22131733ad3571becd3a7bcdd54b84f6ba8014 [file] [log] [blame]
Zack Williams5b5d9a72020-11-06 13:59:06 -07001---
2# pxeboot molecule/default/molecule.yml
3#
4# SPDX-FileCopyrightText: © 2020 Open Networking Foundation <support@opennetworking.org>
5# SPDX-License-Identifier: Apache-2.0
6
7dependency:
8 name: galaxy
9driver:
10 name: docker
11platforms:
12 - name: "ubuntu-18.04-priv"
13 image: "quay.io/paulfantom/molecule-systemd:ubuntu-18.04"
14 privileged: true
15 volumes:
16 - "/sys/fs/cgroup:/sys/fs/cgroup:ro"
Zack Williams92f3c202021-08-24 23:04:47 -070017 - name: "debian-11-priv"
18 image: "onfinfra/molecule-systemd:debian-11"
Zack Williams5b5d9a72020-11-06 13:59:06 -070019 privileged: true
20 volumes:
21 - "/sys/fs/cgroup:/sys/fs/cgroup:ro"
22provisioner:
23 name: ansible
24 inventory:
25 host_vars:
Zack Williams92f3c202021-08-24 23:04:47 -070026 debian-11-priv:
Zack Williams5b5d9a72020-11-06 13:59:06 -070027 ansible_python_interpreter: /usr/bin/python3
28 ubuntu-18.04-priv:
29 ansible_python_interpreter: /usr/bin/python3
Zack Williams6f70f4d2021-06-07 12:54:07 -070030 group_vars:
31 all:
32 pxeboot_hosts:
33 - {domain: 'example.com', hostname: 'server1', serial: 'abc123'}
34 - {domain: 'example.com', hostname: 'server2', serial: 'def456', iface: 'eno2'}
35 - {domain: 'example.com', hostname: 'server3', mac_address: '01:23:45:ab:cd:ef'}
Zack Williams5b5d9a72020-11-06 13:59:06 -070036verifier:
37 name: ansible