Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
ansible
command
Command ansible runs a single module against a pattern of inventory hosts (Ansible's "ad-hoc" mode).
|
Command ansible runs a single module against a pattern of inventory hosts (Ansible's "ad-hoc" mode). |
|
ansible-config
command
Command ansible-config shows go-ansible's configuration.
|
Command ansible-config shows go-ansible's configuration. |
|
ansible-console
command
Command ansible-console is an interactive REPL for running ad-hoc modules against a live-changeable host pattern — the interactive counterpart to ansible's one-shot ad-hoc mode.
|
Command ansible-console is an interactive REPL for running ad-hoc modules against a live-changeable host pattern — the interactive counterpart to ansible's one-shot ad-hoc mode. |
|
ansible-doc
command
Command ansible-doc prints documentation for go-ansible's modules.
|
Command ansible-doc prints documentation for go-ansible's modules. |
|
ansible-galaxy
command
Command ansible-galaxy installs roles from a requirements file.
|
Command ansible-galaxy installs roles from a requirements file. |
|
ansible-inventory
command
Command ansible-inventory shows the inventory as this port parsed it, in real ansible-inventory's own shapes: the --list JSON dump, the --host variable dump, and the --graph tree.
|
Command ansible-inventory shows the inventory as this port parsed it, in real ansible-inventory's own shapes: the --list JSON dump, the --host variable dump, and the --graph tree. |
|
ansible-playbook
command
Command ansible-playbook runs a playbook against an inventory.
|
Command ansible-playbook runs a playbook against an inventory. |
|
ansible-pull
command
Command ansible-pull clones (or updates) a git repository and runs a playbook from it against this machine — the pull-mode counterpart to ansible-playbook's push mode, for a target that fetches and applies its own configuration instead of being reached over SSH.
|
Command ansible-pull clones (or updates) a git repository and runs a playbook from it against this machine — the pull-mode counterpart to ansible-playbook's push mode, for a target that fetches and applies its own configuration instead of being reached over SSH. |
|
ansible-vault
command
Command ansible-vault encrypts/decrypts/views files in Ansible's Vault 1.1 format.
|
Command ansible-vault encrypts/decrypts/views files in Ansible's Vault 1.1 format. |
|
internal
|
|
|
adhoc
Package adhoc is the ad-hoc single-module-against-a-host-pattern execution logic shared by cmd/ansible and cmd/ansible-console — the same "connect, run one module on every matched host, print a host | STATUS => json line as each finishes" flow both binaries need, factored out once instead of copied.
|
Package adhoc is the ad-hoc single-module-against-a-host-pattern execution logic shared by cmd/ansible and cmd/ansible-console — the same "connect, run one module on every matched host, print a host | STATUS => json line as each finishes" flow both binaries need, factored out once instead of copied. |
|
extravars
Package extravars parses Ansible's `-e`/`--extra-vars` command-line argument: a `key=value` pair, a raw JSON/YAML object, or `@file` to load one from disk (JSON or YAML, by extension).
|
Package extravars parses Ansible's `-e`/`--extra-vars` command-line argument: a `key=value` pair, a raw JSON/YAML object, or `@file` to load one from disk (JSON or YAML, by extension). |
|
invload
Package invload loads the inventory the way real Ansible's CLI does: a source it cannot use is a WARNING and the run continues with only the implicit localhost, rather than a fatal error.
|
Package invload loads the inventory the way real Ansible's CLI does: a source it cannot use is a WARNING and the run continues with only the implicit localhost, rather than a fatal error. |
|
termcolor
Package termcolor decides whether output should carry ANSI colour, by real Ansible's rules rather than by a flag alone.
|
Package termcolor decides whether output should carry ANSI colour, by real Ansible's rules rather than by a flag alone. |
|
usage
Package usage answers a request for help the way real Ansible does.
|
Package usage answers a request for help the way real Ansible does. |
|
vaultpw
Package vaultpw resolves the vault password the way real Ansible's CLI does, so every command that accepts --vault-password-file gets the same behavior from one place rather than each growing its own copy.
|
Package vaultpw resolves the vault password the way real Ansible's CLI does, so every command that accepts --vault-password-file gets the same behavior from one place rather than each growing its own copy. |
|
verbosity
Package verbosity registers real ansible's -v family on a flag.FlagSet.
|
Package verbosity registers real ansible's -v family on a flag.FlagSet. |
|
version
Package version formats a one-line --version string shared by all four go-ansible CLI binaries.
|
Package version formats a one-line --version string shared by all four go-ansible CLI binaries. |
Click to show internal directories.
Click to hide internal directories.