cleaning up role
This commit is contained in:
parent
389768ed81
commit
ea4b20c08f
|
@ -4,7 +4,24 @@
|
|||
# This playbook will install ansible to the target host.
|
||||
#
|
||||
###########################################################################
|
||||
# tasks file for main.yml
|
||||
# tasks file for ansible role
|
||||
|
||||
############################################################
|
||||
# ensure python3-pip package has been installed
|
||||
|
||||
- name: Confirm python-pip3 installed (Ubuntu)
|
||||
apt:
|
||||
name:
|
||||
- python3-pip
|
||||
state: latest
|
||||
when: ansible_distribution == "Ubuntu" or ansible_distribution == "Pop!_OS"
|
||||
|
||||
- name: Confirm python-pip3 installed (CentOS)
|
||||
yum:
|
||||
name:
|
||||
- python3-pip
|
||||
state: latest
|
||||
when: ansible_distribution == "CentOS"
|
||||
|
||||
############################################################
|
||||
# using the pip3 command rather than the pip ansible module
|
||||
|
|
Loading…
Reference in New Issue