Skip to content

Commit

Permalink
move PIP installation earlier in process
Browse files Browse the repository at this point in the history
  • Loading branch information
luisj1983 committed Jul 22, 2023
1 parent a2b1004 commit 0cbec08
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions molecule_installer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,16 @@
when: docker_gpg_key_installed

# ## Docker-in-WSL2 installation

- name: "APT: Install PIP"
ansible.builtin.apt:
name:
- python3-pip
- libssl-dev
state: present
update_cache: true


- name: Install docker
when: install_docker
block:
Expand Down Expand Up @@ -101,14 +111,6 @@
## From:
# https://ansible.readthedocs.io/projects/molecule/installation/#requirements

- name: "APT: Install Molecule pre-reqs"
ansible.builtin.apt:
name:
- python3-pip
- libssl-dev
state: present
update_cache: true

- name: "PIP: Install Molecule"
become: false
ansible.builtin.pip:
Expand Down

0 comments on commit 0cbec08

Please sign in to comment.