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