initial checkin

This commit is contained in:
Radar231 2021-07-23 18:45:46 -04:00
commit d5a1a42c53
1 changed files with 32 additions and 0 deletions

32
pfetch.yml Normal file
View File

@ -0,0 +1,32 @@
---
###########################################################################
#
# This is the top level playbook for the 'pfetch' role.
#
# This role will install and configure pfetch to the target host.
#
###########################################################################
#
# This playbook can be run using the following command line;
#
# ansible-playbook -i <inventory file | IP,> -e "homedir=<home dir>" pfetch.yml
#
# ie,
# ansible-playbook -i 192.168.1.123, -e "homedir=/home/ubuntu" pfetch.yml
#
###########################################################################
- hosts: all
gather_facts: true
user: root
roles:
- role: pfetch
vars:
# Set the following variable as required
# ie,
# homedir: /home/ubuntu
# Default is to apply the playbook against the root user
homedir: "/root"
# EOF