summaryrefslogtreecommitdiffstats
path: root/ansible/roles/package-repository/molecule/default/molecule.yml
blob: df2024d7a51a58ec742c359e643a75c8a57fc7d8 (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
---
dependency:
  name: galaxy
driver:
  name: docker
lint:
  name: yamllint
platforms:
  - name: infrastructure-server
    image: ${PLATFORM_DISTRO:-centos}:${DISTRO_VERSION:-7}
    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:-centos}:${DISTRO_VERSION:-7}
    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
  lint:
    name: ansible-lint
  inventory:
    host_vars:
      infrastructure-server:
        cluster_ip: 6.5.4.3
    group_vars:
      all:
        app_name: moleculetestapp
        app_data_path: "/opt/{{ app_name }}"
scenario:
  name: default
verifier:
  name: testinfra
  options:
    verbose: true
  lint:
    name: flake8