diff options
author | B Stack <bgstack15@gmail.com> | 2018-01-20 10:05:15 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-01-20 10:05:15 -0500 |
commit | 45e3dab50830f496ccb073ec0ff7083137f7e7b7 (patch) | |
tree | 0cf66e48224213321fb194c6e284d93f96b2434a /README.md | |
download | vcenter_matrix-45e3dab50830f496ccb073ec0ff7083137f7e7b7.tar.gz vcenter_matrix-45e3dab50830f496ccb073ec0ff7083137f7e7b7.tar.bz2 vcenter_matrix-45e3dab50830f496ccb073ec0ff7083137f7e7b7.zip |
initial commit
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..0209363 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ +# Vcenter_matrix +*Shell script that uses and aids ansible* +Use vcenter_matrix to generate yaml and csv lists of all the virtual guests in a set of vcenter hosts. + +This script prompts for the username and password to the vcenters. Then it iterates through the list of vcenters in vcenters.txt and fetches the guest name and uuid of just the Linux guests. + +### Usage + + cd /etc/ansible/shell/vcenter_matrix + vi vcenters.txt # add in your vcenter hostnames + ./generate.sh + +# Reference +## Weblinks +1. File descript 10 https://unix.stackexchange.com/questions/107800/using-while-loop-to-ssh-to-multiple-servers +2. Web problem with vcenter api is because of escaped characters in variables https://github.com/ansible/ansible/issues/32477 + |