install.fairie/home/dot_local/share/ansible/.config/molecule/config.yml

28 lines
742 B
YAML
Raw Normal View History

2023-07-15 22:40:26 -07:00
---
dependency:
name: shell
command: |
if type task > /dev/null; then
task ansible:test:molecule:dependencies
else
ansible-galaxy install --ignore-errors -r requirements.yml
fi
provisioner:
name: ansible
options:
vvv: true
playbooks:
converge: ../converge.yml
prepare: ../../.config/molecule/prepare.yml
docker:
create: ../../.config/molecule/docker.create.yml
destroy: ../../.config/molecule/docker.destroy.yml
gce:
create: ../../.config/molecule/gce.create.yml
destroy: ../../.config/molecule/gce.destroy.yml
vagrant:
create: ../../.config/molecule/vagrant.create.yml
destroy: ../../.config/molecule/vagrant.destroy.yml
verifier:
name: ansible