initial checkin

This commit is contained in:
Radar231 2021-07-22 23:14:53 -04:00
commit 2b8519c50f
2 changed files with 29 additions and 0 deletions

8
README.md Normal file
View File

@ -0,0 +1,8 @@
# Ansible Role: ansible
## Introduction
This role will install ansible on the target host.
This role should work on both Ubuntu and CentOS based hosts.

21
tasks/main.yml Normal file
View File

@ -0,0 +1,21 @@
---
###########################################################################
#
# This playbook will install ansible to the target host.
#
###########################################################################
# tasks file for main.yml
############################################################
# 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)
- debug: msg="Installing ansible via pip"
- name: Installed ansible using pip3
shell:
cmd: pip3 install ansible
# EOF