File tree Expand file tree Collapse file tree 6 files changed +12
-36
lines changed Expand file tree Collapse file tree 6 files changed +12
-36
lines changed Original file line number Diff line number Diff line change 8
8
- ROLE_NAME : davidalger.cloud_sql_proxy
9
9
10
10
matrix :
11
+ - MOLECULE_DISTRO : centos8
11
12
- MOLECULE_DISTRO : centos7
12
- MOLECULE_DOCKER_COMMAND : /usr/lib/systemd/systemd
13
13
14
14
install :
15
- - pip install molecule docker
15
+ - pip install molecule yamllint ansible-lint docker
16
16
17
17
before_script :
18
18
# Use actual Ansible Galaxy role name for the project directory.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change 1
1
---
2
2
dependency :
3
3
name : galaxy
4
+ options :
5
+ role-file : requirements.yml
4
6
5
7
driver :
6
8
name : docker
7
9
8
- lint :
9
- name : yamllint
10
- options :
11
- config-file : molecule/default/yaml- lint.yml
10
+ lint : |
11
+ set -e
12
+ yamllint .
13
+ ansible- lint .
12
14
13
15
platforms :
14
16
- name : instance
15
17
image : geerlingguy/docker-${MOLECULE_DISTRO:-centos7}-ansible
16
- command : ${MOLECULE_DOCKER_COMMAND:-"sleep infinity"}
18
+ command : ${MOLECULE_DOCKER_COMMAND:-""}
19
+ volumes :
20
+ - /sys/fs/cgroup:/sys/fs/cgroup:ro
17
21
privileged : true
18
22
pre_build_image : true
19
23
20
24
provisioner :
21
25
name : ansible
22
- lint :
23
- name : ansible-lint
24
26
playbooks :
25
- converge : ${MOLECULE_PLAYBOOK:-playbook.yml}
26
-
27
- scenario :
28
- name : default
29
-
30
- verifier :
31
- name : testinfra
32
- lint :
33
- name : flake8
27
+ converge : ${MOLECULE_PLAYBOOK:-converge.yml}
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments