mirror of
https://github.com/Dannecron/netology-devops-ansible-vector.git
synced 2025-12-25 22:42:34 +03:00
add new molecule scenario, add tox config
This commit is contained in:
35
molecule/podman/molecule.yml
Normal file
35
molecule/podman/molecule.yml
Normal file
@@ -0,0 +1,35 @@
|
||||
---
|
||||
dependency:
|
||||
name: galaxy
|
||||
driver:
|
||||
name: podman
|
||||
platforms:
|
||||
- name: centos_7
|
||||
image: docker.io/library/centos:7
|
||||
privileged: true
|
||||
command: /usr/sbin/init
|
||||
capabilities:
|
||||
- SYS_ADMIN
|
||||
tmpfs:
|
||||
- /run
|
||||
- /tmp
|
||||
volumes:
|
||||
- /sys/fs/cgroup:/sys/fs/cgroup
|
||||
env:
|
||||
ANSIBLE_USER: ansible
|
||||
SUDO_GROUP: wheel
|
||||
DEPLOY_GROUP: deployer
|
||||
container: podman
|
||||
provisioner:
|
||||
name: ansible
|
||||
verifier:
|
||||
name: ansible
|
||||
scenario:
|
||||
name: podman
|
||||
test_sequence:
|
||||
- lint
|
||||
- destroy
|
||||
- create
|
||||
- converge
|
||||
- verify
|
||||
- destroy
|
||||
Reference in New Issue
Block a user