initial checkin
This commit is contained in:
commit
2b8519c50f
|
@ -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.
|
||||
|
|
@ -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
|
Loading…
Reference in New Issue