Add molecule tests for roles (#8080)

* Add molecule tests for bastion-ssh-config

* Add molecule tests for adduser

* Update .gitignore
This commit is contained in:
efrikin
2021-10-15 04:46:54 +03:00
committed by GitHub
parent 7019c2685d
commit 8b3481f511
10 changed files with 158 additions and 2 deletions

View File

@@ -0,0 +1,31 @@
---
dependency:
name: galaxy
lint: |
set -e
yamllint -c ../../.yamllint .
driver:
name: vagrant
provider:
name: libvirt
platforms:
- name: bastion-01
box: generic/ubuntu2004
cpus: 1
memory: 512
provisioner:
name: ansible
lint:
name: ansible-lint
inventory:
hosts:
all:
hosts:
children:
bastion:
hosts:
bastion-01:
verifier:
name: testinfra
lint:
name: flake8