-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathmolecule.yml
52 lines (48 loc) · 1.24 KB
/
molecule.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
---
# NOTE: the containers DNS-resolution won't work after installing NFTables: https://github.com/nestybox/sysbox/issues/456#issuecomment-1015935133
dependency:
name: galaxy
driver:
name: docker
platforms:
- name: test-ag-nftables-tester
docker_networks:
- name: 'test-ag-nftables'
ipam_config:
- subnet: '192.168.9.0/24'
gateway: '192.168.9.254'
networks:
- name: 'test-ag-nftables'
ipv4_address: '192.168.9.1'
groups: [grp_targets]
docker_host: 'tcp://molecule-docker.local:2375'
image: 'ansible0guy/molecule:debian-latest'
tmpfs: ['/tmp', '/run', '/run/lock']
privileged: true
command: '/sbin/init'
- name: test-ag-nftables-1
networks:
- name: 'test-ag-nftables'
ipv4_address: '192.168.9.2'
groups: [grp_targets]
docker_host: 'tcp://molecule-docker.local:2375'
image: 'ansible0guy/molecule:debian-latest'
tmpfs: ['/tmp', '/run', '/run/lock']
privileged: true
command: '/sbin/init'
provisioner:
name: ansible
verifier:
name: ansible
scenario:
name: default
test_sequence:
- destroy
- syntax
- create
- prepare
- converge
- verify # MUST NOT make changes
- idempotence
- check
- destroy