From 374d4a342b9e652d0bb283f49f8793e56360da84 Mon Sep 17 00:00:00 2001 From: Radar231 Date: Mon, 3 Jan 2022 10:08:28 -0500 Subject: [PATCH] cleanup: removed centos code, cleaned up debian & ubuntu references --- README.md | 2 -- tasks/main.yml | 10 +--------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/README.md b/README.md index 2bda11a..540537b 100644 --- a/README.md +++ b/README.md @@ -4,5 +4,3 @@ This role will install ansible on the target host. -This role should work on both Ubuntu and CentOS based hosts. - diff --git a/tasks/main.yml b/tasks/main.yml index 57eb920..1687914 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -16,18 +16,10 @@ state: latest when: ansible_os_family == "Debian" -- 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 # because ansible can get in a weird state depending on the -# python version used on the target host (python 2 on CentOS 7 -# vs python 3 otherwise) +# python version used on the target host - debug: msg="Installing ansible via pip"