homelab/ansible/molecule/default/molecule.yml

43 lines
758 B
YAML
Raw Normal View History

2022-10-30 17:18:58 +00:00
---
2022-11-29 20:23:44 +00:00
prerun: false
2022-10-30 17:18:58 +00:00
dependency:
name: galaxy
2022-11-29 20:23:44 +00:00
enabled: false
2022-10-30 17:18:58 +00:00
driver:
name: lxd
platforms:
- name: oscar-dev
image: images:archlinux
source:
type: image
mode: pull
alias: archlinux
- name: merlin-dev
source:
type: image
mode: pull
alias: rockylinux/9
- name: gerard-dev
source:
type: image
mode: pull
alias: debian/11
provisioner:
name: ansible
connection_options:
ansible_ssh_user: ansible
2022-10-30 17:18:58 +00:00
ansible_become: true
2022-11-01 19:40:42 +00:00
env:
ANSIBLE_CONFIG: ../../ansible.cfg
ANSIBLE_ROLES_PATH: "../../roles"
2022-10-30 17:18:58 +00:00
log: true
lint:
name: ansible-lint
inventory:
2022-11-01 19:40:42 +00:00
host_vars: []
2022-10-30 17:18:58 +00:00
links:
2022-11-01 19:40:42 +00:00
group_vars: ../../group_vars
2022-10-30 17:18:58 +00:00
hosts: ../../staging
verifier:
name: ansible