All apps/Ansible

Ansible

ansible

Ansible is a radically simple IT automation system.

Runs as ansible, ansible-playbook, ansible-galaxy, ansible-doc, ansible-config, ansible-lint|macOS, Linux, Windows|docs.ansible.com

Command form

ai-draft · 3 tasks · 16 fields

Run a single module against a set of hosts with the ansible command. Playbooks (ansible-playbook), galaxy, vault handling and SSH argument passthrough are left out.

Opens the form; the finished command lands at your prompt, unrun
otty gui ansible
Run ad-hoc taskExample values, fixed in this page — nothing here reaches a terminal
Basic
Host pattern*
string
Inventory
string
Module set by task
pingstring
Limit to hosts
string
Connect as user
string
Private key file
file
Ask for connection password
--ask-pass
TasksEach one presets the form for one job
Ping hosts
patternmodule_nameinventorylimituserprivate_keyask_pass
Run a command on hosts
patternmodule_nameargsinventorylimituserprivate_keybecomeask_become_passask_passcheck
List matching hosts
patternlist_hostsinventorylimit
ParametersOnly these flags are editable in the form
Host pattern
Inventory host, group or pattern, for example all or webservers.
string · positional 0
Inventory
Inventory file or a comma-separated host list.
string
--inventory-i
Module
string
--module-name-mpingcommandshellcopysetup
Module arguments
string
--args-a
Limit to hosts
string
--limit-l
Connect as user
string
--user-u
Private key file
path
--private-key--key-file
Become (privilege escalation)
boolean
--become-b
Ask for become password
boolean
--ask-become-pass-K
Ask for connection password
boolean
--ask-pass-k
Extra variables
key=value pairs, YAML/JSON, or @file.
string · repeatable
--extra-vars-e
Parallel forks
integer
--forks-f
Check mode (no changes)
boolean
--check-C
Show diffs
boolean
--diff-D
List matching hosts only
boolean
--list-hosts
Condensed output
boolean
--one-line-o
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed ansible against its version. A form that does not match your version is not offered.