61 lines
1.1 KiB
YAML
61 lines
1.1 KiB
YAML
---
|
|
dependency:
|
|
name: galaxy
|
|
enabled: true
|
|
options:
|
|
requirements-file: requirements.yml
|
|
|
|
driver:
|
|
name: docker
|
|
|
|
platforms:
|
|
# - name: centos
|
|
# image: "hub.antropoff.ru/ansible/centos:latest"
|
|
# privileged: true
|
|
# pre_build_image: true
|
|
# volumes:
|
|
# - /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
# - /var/run/docker.sock:/var/run/docker.sock
|
|
# tmpfs:
|
|
# - /tmp
|
|
# - /run
|
|
- name: ubuntu
|
|
image: "hub.antropoff.ru/ansible/ubuntu:latest"
|
|
privileged: true
|
|
pre_build_image: true
|
|
volumes:
|
|
- /sys/fs/cgroup:/sys/fs/cgroup:ro
|
|
- /var/run/docker.sock:/var/run/docker.sock
|
|
tmpfs:
|
|
- /tmp
|
|
- /run
|
|
|
|
provisioner:
|
|
name: ansible
|
|
connection_options:
|
|
ansible_connection: docker
|
|
ansible_user: root
|
|
env:
|
|
ANSIBLE_PYTHON_INTERPRETER: /usr/bin/python3
|
|
lint:
|
|
name: ansible-lint
|
|
|
|
verifier:
|
|
name: ansible
|
|
|
|
scenario:
|
|
name: default
|
|
test_sequence:
|
|
- dependency
|
|
- cleanup
|
|
- destroy
|
|
- syntax
|
|
- create
|
|
- prepare
|
|
- converge
|
|
- idempotence
|
|
- side_effect
|
|
- verify
|
|
- cleanup
|
|
- destroy
|