Skip to content

Commit

Permalink
become true for install pip
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdjscott committed Feb 13, 2024
1 parent 8fd1999 commit 5d224f7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions roles/capi-cluster/get-nodes/tasks/prerequisites.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,15 @@
- python3-pip
state: present
when: ansible_os_family == "RedHat"
become: true

- name: Ensure pip is installed
ansible.builtin.apt:
name:
- python3-pip
state: present
when: ansible_os_family == "Debian"
become: true

- name: Ensure paramiko pip module is present
ansible.builtin.pip:
Expand Down

0 comments on commit 5d224f7

Please sign in to comment.