Skip to content

Commit 5b8b18e

Browse files
committed
chore: copy molecule/default -> molecule/podman
1 parent 920f744 commit 5b8b18e

File tree

3 files changed

+56
-0
lines changed

3 files changed

+56
-0
lines changed

molecule/podman/converge.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
- name: Converge
3+
hosts: all
4+
become: false
5+
gather_facts: false
6+
7+
roles:
8+
- role: ansible-role-bootstrap

molecule/podman/molecule.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
dependency:
3+
name: galaxy
4+
options:
5+
role-file: requirements.yml
6+
requirements-file: requirements.yml
7+
lint: |
8+
set -e
9+
ansible-lint
10+
driver:
11+
name: docker
12+
platforms:
13+
# service-enabled Docker image by geerlingguy
14+
- name: instance-${TOX_ENVNAME}-${MOLECULE_DISTRO:-debian10}
15+
image: "geerlingguy/docker-${MOLECULE_DISTRO:-debian10}-ansible:latest"
16+
command: ${MOLECULE_DOCKER_COMMAND:-""}
17+
volumes:
18+
- /sys/fs/cgroup:/sys/fs/cgroup:ro
19+
privileged: true
20+
pre_build_image: true
21+
provisioner:
22+
name: ansible
23+
playbooks:
24+
converge: ${MOLECULE_PLAYBOOK:-converge.yml}
25+
options:
26+
v: true
27+
config_options:
28+
defaults:
29+
interpreter_python: auto_silent
30+
callbacks_enabled: profile_tasks, timer, yaml
31+
stdout_callback: yaml
32+
verifier:
33+
name: ansible

molecule/podman/verify.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
---
2+
- name: output some generally helpful debug information about the provisioned machine
3+
hosts: all
4+
become: true
5+
gather_facts: true
6+
7+
tasks:
8+
- name: debug output machine facts
9+
ansible.builtin.include_tasks: ../resources/debug.yml
10+
11+
### Actual Role Verification Tasks:
12+
- name: Verify
13+
hosts: all
14+
15+
tasks:

0 commit comments

Comments
 (0)