Skip to content

Commit b095a0d

Browse files
authored
fix: make role compatible with podman (#62)
* chore: copy molecule/default -> molecule/podman * ci: make molecule podman scenario use podman as driver copied how to adapt from robertdebock/ansible-role-bootstrap#66 (comment) * test: add molecule[podman] in tox dependencies * fix: add executable argument to install bootstrap packages (raw) task to fix podman without this, following error appears: Error: executable file not found in /home/jonas/Dokumente/Programmieren/public/ansible-roles/all-repos/ansible-role-bootstrap/venv/bin:/home/jonas/.nvm/versions/node/v16.15.0/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jonas/.local/share/JetBrains/Toolbox/scripts:/home/jonas/.local/share/JetBrains/Toolbox/scripts:/usr/local/go/bin: No such file or directory: OCI runtime attempted to invoke a command that was not found * refactor: prepend 'podman' to name of docker container in molecule podman scenario * docs: add podman to development machine dependencies * ci: add pause in podman converge playbook in an attempt to understand or fix random CI failures * revert: revert everything except actual tasks/main.yml molecule podman ci tests are scuffed. podman installation is scuffed too. gonna stay away from podman for a while after this encounter lol Co-authored-by: JonasPammer <[email protected]>
1 parent 8382519 commit b095a0d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737

3838
- name: Install bootstrap packages (raw).
3939
ansible.builtin.raw: "{{ bootstrap_install.raw }}"
40+
args:
41+
executable: /bin/sh
4042
register: bootstrap_install_packages
4143
changed_when:
4244
- (bootstrap_install.stdout_regex in bootstrap_install_packages.stdout and

0 commit comments

Comments
 (0)