blob: 822cc6a0a39c406a476781e7bf475a3ec102c7bb (
plain)
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
|
---
dependency:
name: galaxy
driver:
name: docker
lint: |
set -e
yamllint .
ansible-lint .
flake8
platforms:
- name: infrastructure-server
image: ${PLATFORM_DISTRO:-ubuntu}:${ISTRO_VERSION:-18.04}
dockerfile: ../default/Dockerfile.j2
groups:
- infrastructure
# By design certain file like /etc/resolv.conf cannot be edited in docker
# container. To enable role to "edit" /etc/resolv.conf define value already to same.
dns_servers:
- 6.5.4.3
- name: kubernetes-node-1
image: ${PLATFORM_DISTRO:-ubuntu}:${ISTRO_VERSION:-18.04}
dockerfile: ../default/Dockerfile.j2
groups:
- kubernetes
# By design certain file like /etc/resolv.conf cannot be edited in docker
# container. To enable role to "edit" /etc/resolv.conf define value already to same.
dns_servers:
- 6.5.4.3
provisioner:
name: ansible
playbooks:
converge: ../default/converge.yml
inventory:
host_vars:
infrastructure-server:
cluster_ip: 6.5.4.3
group_vars:
all:
app_name: moleculetestapp
app_data_path: "/opt/{{ app_name }}"
verifier:
name: testinfra
options:
verbose: true
directory: ../default/tests
|