-
Notifications
You must be signed in to change notification settings - Fork 11
/
molecule.yml
117 lines (113 loc) · 2.59 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
---
lint: |
set -e
yamllint .
ansible-lint -vv --exclude=.tox
scenario:
name: default # ring topology
dependency:
name: galaxy
driver:
name: docker
verifier:
name: ansible
provisioner:
name: ansible
log: True
inventory:
host_vars:
tinc-centos-7:
tinc_vpn_ip: 10.10.0.11
tinc-centos-8:
tinc_vpn_ip: 10.10.0.12
tinc-ubuntu-18:
tinc_vpn_ip: 10.10.0.14
tinc-ubuntu-20:
tinc_vpn_ip: 10.10.0.15
platforms:
# - name: tinc-centos-7
# image: centos-7
# image: diodonfrost/ubuntu-18.04-ansible
# #pre_build_image: true
# privileged: true
# command: /sbin/init
# tmpfs:
# - /run
# - /tmp
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
# etc_hosts:
# tinc-centos-7: 10.10.0.11
# tinc-centos-8: 10.10.0.12
# tinc-ubuntu-18: 10.10.0.14
# tinc-ubuntu-20: 10.10.0.15
# groups:
# - tinc_nodes
# - tinc_spine_nodes
# - tinc_leaf_nodes
- name: tinc-centos-7
image: centos-7
privileged: true
command: /sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
etc_hosts:
tinc-centos-7: 10.10.0.11
tinc-centos-8: 10.10.0.12
tinc-ubuntu-18: 10.10.0.14
tinc-ubuntu-20: 10.10.0.15
groups:
- tinc_nodes
- tinc_spine_nodes
- tinc_leaf_nodes
- name: tinc-centos-8
image: centos-8
privileged: true
command: /sbin/init
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
etc_hosts:
tinc-centos-7: 10.10.0.11
tinc-centos-8: 10.10.0.12
tinc-ubuntu-18: 10.10.0.14
tinc-ubuntu-20: 10.10.0.15
groups:
- tinc_nodes
- tinc_spine_nodes
- tinc_leaf_nodes
- name: tinc-ubuntu-18
image: ubuntu-18.04
privileged: true
command: /lib/systemd/systemd
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
#command: /sbin/init
# tmpfs:
# - /run
# - /tmp
# volumes:
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
etc_hosts:
tinc-centos-7: 10.10.0.11
tinc-centos-8: 10.10.0.12
tinc-ubuntu-18: 10.10.0.14
tinc-ubuntu-20: 10.10.0.15
groups:
- tinc_nodes
- tinc_spine_nodes
- tinc_leaf_nodes
- name: tinc-ubuntu-20
image: ubuntu-20.04
privileged: true
command: /lib/systemd/systemd
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:ro
etc_hosts:
tinc-centos-7: 10.10.0.11
tinc-centos-8: 10.10.0.12
tinc-ubuntu-18: 10.10.0.14
tinc-ubuntu-20: 10.10.0.15
groups:
- tinc_nodes
- tinc_spine_nodes
- tinc_leaf_nodes