Skip to content

Commit

Permalink
Molecule: Use custom image which has Python3 installed
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Dec 19, 2024
1 parent 71e3d60 commit e2bc577
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
10 changes: 0 additions & 10 deletions converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,5 @@
ansible.builtin.assert:
that: result.stdout | regex_search("^Linux")

- name: Slackpkg update
ansible.builtin.raw: slackpkg update
# For the Idempotence tests
changed_when: false

- name: Install Python3
ansible.builtin.raw: '[ ! -h /usr/bin/python3 ] && yes | slackpkg install python3 || true'
# For the Idempotence tests
changed_when: false

- name: Banners
ansible.builtin.import_tasks: tasks/banners.yml
2 changes: 1 addition & 1 deletion molecule/default/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ dependency:
requirements-file: requirements.yml
platforms:
- name: molecule-slackware
image: liveslak/slackware
image: pyllyukko/slackware
provisioner:
name: ansible
# This playbook needs to reside in the project root directory so that the all the files and templates are found properly
Expand Down

0 comments on commit e2bc577

Please sign in to comment.