fix for molecule>4.0.1 schema-validation

This commit is contained in:
AnsibleGuy 2023-03-23 20:49:23 +01:00
parent 1835822946
commit 244551cc04
No known key found for this signature in database
GPG Key ID: 52984C069F5AD3CD
1 changed files with 10 additions and 15 deletions

View File

@ -1,19 +1,5 @@
---
_references:
docker:
all: &docker_all
docker_host: 'tcp://molecule-docker.local:2375'
# docker_host: 'unix://var/run/docker.sock' # localhost
purge_networks: true
image: 'debian:11-slim'
# for docker systemd config see: https://serverfault.com/questions/1053187/systemd-fails-to-run-in-a-docker-container-when-using-cgroupv2-cgroupns-priva
dockerfile: 'Dockerfile_debian11_systemd.j2'
build_image: yes
tmpfs: ['/tmp', '/run', '/run/lock']
privileged: true
command: '/sbin/init'
dependency:
name: galaxy
driver:
@ -29,7 +15,16 @@ platforms:
- name: 'test-ag-apache'
ipv4_address: '192.168.11.1'
groups: [grp_tester]
<<: *docker_all
# docker config
docker_host: 'tcp://molecule-docker.local:2375'
purge_networks: true
image: 'debian:11-slim'
dockerfile: 'Dockerfile_debian11_systemd.j2'
build_image: yes
tmpfs: ['/tmp', '/run', '/run/lock']
privileged: true
command: '/sbin/init'
provisioner:
name: ansible