blob: 2cd63c65bbf5ad8f79c525abf31490a441b9f503 [file] [log] [blame]
Mohammed Naser3f961782023-04-20 10:48:21 -04001# Copyright (c) 2023 VEXXHOST, Inc.
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may
4# not use this file except in compliance with the License. You may obtain
5# a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations
13# under the License.
14
15dependency:
16 name: galaxy
17driver:
18 name: docker
19platforms:
20 - name: instance
21 image: geerlingguy/docker-${MOLECULE_DISTRO:-ubuntu2004}-ansible:latest
22 command: ${MOLECULE_DOCKER_COMMAND:-""}
23 privileged: true
24 cgroupns_mode: host
25 pre_build_image: true
26 purge_networks: true
27 dns_servers:
28 - 1.1.1.1
29 docker_networks:
30 - name: mgmt
31 ipam_config:
32 - subnet: 10.96.240.0/24
33 gateway: 10.96.240.1
34 - name: public
35 ipam_config:
36 - subnet: 10.96.250.0/24
37 gateway: 10.96.250.1
38 networks:
39 - name: mgmt
40 - name: public
41 security_opts:
42 - apparmor=unconfined
43 volumes:
44 - /dev:/dev
45 - /lib/modules:/lib/modules:ro
46 - /sys/fs/cgroup:/sys/fs/cgroup:rw
47 - /usr/src:/usr/src:ro
48 groups:
49 - controllers
50 - cephs
51 - computes
52provisioner:
53 name: ansible
54 config_options:
55 connection:
56 pipelining: true
57 tags:
58 skip: >-
59 sysctl,
60 ethtool,
61 node-feature-discovery,
62 kube-prometheus-stack,
63 loki,
64 vector,
65 prometheus-ethtool-exporter,
66 ipmi-exporter,
67 prometheus-pushgateway,
68 lpfc,
69 senlin,
70 designate,
71 heat,
72 octavia,
73 magnum,
74 manila,
75 horizon,
76 openstack-exporter
77 options:
78 inventory: "${MOLECULE_EPHEMERAL_DIRECTORY}/workspace"
79 inventory:
80 links:
81 host_vars: "${MOLECULE_SCENARIO_DIRECTORY}/host_vars"
82 group_vars: "${MOLECULE_SCENARIO_DIRECTORY}/group_vars"
83verifier:
84 name: ansible