ansible/ansible — pull request #8030 by dominis (2014-07-03 14:01:26+00:00)
Title: ansible-shell

ansible-shell is an interactive shell for ansible with built-in tab completion for all the documented modules

Available commands:
cd - change host/group (you can use host patterns eg.: app*.dc*:!app01*)
list - list available hosts in the current path
serial - change serial
sudo - sudo
! - forces shell module instead of the ansible module (!yum update -y)

Configuration:
create a [ansible-shell] section in your ansbile.cfg

cwd=app-servers - you can set your default host pattern
serial=100 - default serial