Skip to content

Commit

Permalink
Improve molecule prepare process:
Browse files Browse the repository at this point in the history
  • Loading branch information
electrocucaracha committed Oct 15, 2024
1 parent 3762da9 commit a29aece
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions playbooks/roles/pmem/molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@
- name: Install python3 packages
become: true
ansible.builtin.package:
name: python3
name: "{{ item }}"
state: present
when: ansible_os_family == "RedHat"
loop:
- python3
- python3-pip
- name: Enforce python3 for ansible
ansible.builtin.set_fact:
ansible_python_interpreter: /usr/bin/python3
- name: Remove the PyYAML package
become: true
ansible.builtin.package:
name: python3-yaml
state: absent
Expand Down

0 comments on commit a29aece

Please sign in to comment.