simonft / random-ansible-host

SSH into a random host in a given Ansible group. Useful for when you just need to get onto one host in a group, and don't care which.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

random-ansible-host

SSH into a random host in a given Ansible group. Useful for when you just need to get onto one host in a group, and don't care which.

Usage:

rah --inventory PATH_TO_INVENTORY_FILE_OR_DIRECTORY ssh ANSIBLE_GROUP

Installation:

pip install https://github.com/simonft/random-ansible-host/zipball/master

About

SSH into a random host in a given Ansible group. Useful for when you just need to get onto one host in a group, and don't care which.

License:Other


Languages

Language:Python 100.0%