diff options
author | Kenny Woodson <kwoodson@redhat.com> | 2015-02-04 12:06:41 -0500 |
---|---|---|
committer | Kenny Woodson <kwoodson@redhat.com> | 2015-02-04 12:06:41 -0500 |
commit | fe7d30b762357ac4ec1fe2b173320d463267ac82 (patch) | |
tree | 71db1d119efce310c1046344f52379eb6b7e751e /bin/COMPLETION_SETUP | |
parent | 6481ca629cc2bcf5bd9c7f15be14a77e57086514 (diff) | |
download | openshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.tar.gz openshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.tar.bz2 openshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.tar.xz openshift-fe7d30b762357ac4ec1fe2b173320d463267ac82.zip |
Renamed ossh.py and added bash completion function
Diffstat (limited to 'bin/COMPLETION_SETUP')
-rw-r--r-- | bin/COMPLETION_SETUP | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/COMPLETION_SETUP b/bin/COMPLETION_SETUP new file mode 100644 index 000000000..c11a2dfff --- /dev/null +++ b/bin/COMPLETION_SETUP @@ -0,0 +1,21 @@ +# ossh is an ssh replacement. + +Ossh uses a dynamic inventory cache in order to lookup hostnames and translate them +to something meaningful such as an IP address or dns name. + +This allows us to treat our servers as cattle and not as pets. + +In order to setup bash completion, source the following script: +/path/to/repository/openshift-online-ansible/bin/ossh_bash_completion + +This bash_completion script will look at the cached version of your +multi_ec2 results in ~/.ansible/tmp/. It will then parse a few +host.env out of the json and return them to be completable. + +If you have not run the ossh command and it has not laid down +a cache file the completions will not be available. + +You can populate the cache by running `ossh --list`. This +will populate the cache file and the completions should +become available. + |