blob: 76277c267112773cffef550093e7bd4d7d1cf442 [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,
Mohammed Naserb7b25782023-06-06 15:42:25 -040068 multipathd,
Mohammed Naser3f961782023-04-20 10:48:21 -040069 lpfc,
70 senlin,
71 designate,
72 heat,
73 octavia,
74 magnum,
75 manila,
76 horizon,
77 openstack-exporter
78 options:
79 inventory: "${MOLECULE_EPHEMERAL_DIRECTORY}/workspace"
80 inventory:
81 links:
82 host_vars: "${MOLECULE_SCENARIO_DIRECTORY}/host_vars"
83 group_vars: "${MOLECULE_SCENARIO_DIRECTORY}/group_vars"
84verifier:
85 name: ansible