2017-03-23 05:11:40 +00:00
{% set name = ('ansible' if cli == 'adhoc' else 'ansible-%s' % cli) -%}
{{name}}(1)
{{ '=' * ((name|length|int) + 3) }}
:doctype: manpage
2017-03-30 16:34:25 +00:00
:encoding: utf-8
:lang: en
2017-03-22 20:38:49 +00:00
:man source: Ansible
:man version: %VERSION%
:man manual: System administration commands
NAME
----
ansible{% if cli != 'adhoc' %}-{{cli}}{% endif %} - {{short_desc|default('')}}
SYNOPSIS
--------
2017-03-23 05:11:40 +00:00
{{ usage|replace('%prog', name) }}
2017-03-22 20:38:49 +00:00
DESCRIPTION
-----------
2017-03-23 05:11:40 +00:00
*{{name}}* {{ long_desc|default('', True)|wordwrap }}
2017-03-22 20:38:49 +00:00
{% if arguments %}
ARGUMENTS
---------
{% for arg in arguments %}
2017-03-23 05:11:40 +00:00
{{ arg }}
2017-03-22 20:38:49 +00:00
2017-03-23 05:11:40 +00:00
{{ (arguments[arg]|default(' '))|wordwrap }}
2017-03-22 20:38:49 +00:00
{% endfor %}
{% endif %}
2017-03-23 05:11:40 +00:00
{% if actions %}
ACTIONS
-------
{% for action in actions %}
{{ action }}
{{ (actions[action]|default(' '))|wordwrap}}
{% endfor %}
{% endif %}
2017-03-22 20:38:49 +00:00
OPTIONS
-------
{% for option in options|sort(attribute='options') %}
{% for switch in option['options'] %}*{{switch}}* {% if option['arg'] %}'{{option['arg']}}'{% endif %}{% if not loop.last %}, {% endif %}{% endfor %}::
{{ option['desc'] }}
{% endfor %}
2017-03-23 05:11:40 +00:00
{% if inventory %}
2017-03-22 20:38:49 +00:00
INVENTORY
---------
Ansible stores the hosts it can potentially operate on in an inventory.
This can be an YAML file, ini-like file, a script, directory, list, etc.
For additional options, see the documentation on http://docs.ansible.com/.
{% endif %}
ENVIRONMENT
-----------
The following environment variables may be specified.
2017-03-23 05:11:40 +00:00
{% if inventory %}
2017-03-22 20:38:49 +00:00
ANSIBLE_INVENTORY -- Override the default ansible inventory file
{% endif %}
2017-03-23 05:11:40 +00:00
{% if library %}
2017-03-22 20:38:49 +00:00
ANSIBLE_LIBRARY -- Override the default ansible module library path
{% endif %}
ANSIBLE_CONFIG -- Override the default ansible config file
Many more are available for most options in ansible.cfg
FILES
-----
2017-03-23 05:11:40 +00:00
{% if inventory %}
2017-03-22 20:38:49 +00:00
/etc/ansible/hosts -- Default inventory file
{% endif %}
/etc/ansible/ansible.cfg -- Config file, used if present
~/.ansible.cfg -- User config file, overrides the default config if present
AUTHOR
------
Ansible was originally written by Michael DeHaan.
See the AUTHORS file for a complete list of contributors.
COPYRIGHT
---------
2017-03-23 05:11:40 +00:00
Copyright © 2017 Red Hat, Inc | Ansible.
2017-03-22 20:38:49 +00:00
Ansible is released under the terms of the GPLv3 License.
SEE ALSO
--------
{% for other in cli_list|sort %}{% if other != cli %}*ansible{% if other != 'adhoc' %}-{{other}}{% endif %}*(1){% if not loop.last %}, {% endif %}{% endif %}{% endfor %}
Extensive documentation is available in the documentation site:
2017-03-23 05:11:40 +00:00
<http://docs.ansible.com>.
IRC and mailing list info can be found in file CONTRIBUTING.md,
available in: <https://github.com/ansible/ansible>