2012-08-14 16:46:16 +02:00
|
|
|
ansible(1)
|
|
|
|
=========
|
|
|
|
:doctype:manpage
|
|
|
|
:man source: Ansible
|
|
|
|
:man version: %VERSION%
|
|
|
|
:man manual: System administration commands
|
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
|
|
|
ansible-pull - set up a remote copy of ansible on each managed node
|
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2013-06-02 06:42:26 +02:00
|
|
|
ansible -d DEST -U URL [ -C CHECKOUT ] [ -i INVENTORY ] [ <filename.yml> ]
|
2012-08-14 16:46:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
|
|
|
|
|
|
|
*Ansible* is an extra-simple tool/framework/API for doing \'remote things' over
|
|
|
|
SSH.
|
|
|
|
|
|
|
|
Use ansible-pull to set up a remote copy of ansible on each managed
|
|
|
|
node, each set to run via cron and update playbook source via
|
|
|
|
git. This inverts the default *push* architecture of ansible into a
|
|
|
|
*pull* architecture, which has near-limitless scaling potential.
|
|
|
|
|
|
|
|
The setup playbook can be tuned to change the cron frequency, logging
|
|
|
|
locations, and parameters to ansible-pull.
|
|
|
|
|
|
|
|
This is useful both for extreme scale-out as well as periodic
|
|
|
|
remediation. Usage of the 'fetch' module to retrieve logs from
|
|
|
|
ansible-pull runs would be an excellent way to gather and analyze
|
|
|
|
remote logs from ansible-pull.
|
|
|
|
|
|
|
|
|
2013-06-02 06:42:26 +02:00
|
|
|
OPTIONAL ARGUMENT
|
|
|
|
-----------------
|
|
|
|
|
|
|
|
*filename.yml*::
|
|
|
|
|
|
|
|
The name of one the YAML format files to run as an ansible playbook. This can
|
|
|
|
be a relative path within the git checkout. If not provided, ansible-pull
|
|
|
|
will look for a playbook based on the host's fully-qualified domain name and
|
|
|
|
finally a playbook named *local.yml*.
|
|
|
|
|
|
|
|
|
2012-08-14 16:46:16 +02:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
|
|
|
|
*-d* 'DEST', *--directory=*'DEST'::
|
|
|
|
|
|
|
|
Directory to checkout git repository into.
|
|
|
|
|
|
|
|
*-U* 'URL', *--url=*'URL'::
|
|
|
|
|
|
|
|
URL of git repository to clone.
|
|
|
|
|
|
|
|
*-C* 'CHECKOUT', *--checkout=*'CHECKOUT'::
|
|
|
|
|
|
|
|
Branch/Tag/Commit to checkout. Defaults to 'HEAD'.
|
|
|
|
|
2013-06-02 06:42:26 +02:00
|
|
|
*-i* 'PATH', *--inventory=*'PATH'::
|
|
|
|
|
|
|
|
The 'PATH' to the inventory hosts file. This can be a relative path within
|
|
|
|
the git checkout.
|
|
|
|
|
|
|
|
*--purge*::
|
|
|
|
|
|
|
|
Purge the git checkout after the playbook is run.
|
2012-08-14 16:46:16 +02:00
|
|
|
|
|
|
|
|
|
|
|
AUTHOR
|
|
|
|
------
|
|
|
|
|
|
|
|
Ansible was originally written by Michael DeHaan. See the AUTHORS file
|
|
|
|
for a complete list of contributors.
|
|
|
|
|
|
|
|
|
|
|
|
COPYRIGHT
|
|
|
|
---------
|
|
|
|
|
|
|
|
Copyright © 2012, Michael DeHaan
|
|
|
|
|
|
|
|
Ansible is released under the terms of the GPLv3 License.
|
|
|
|
|
|
|
|
|
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
|
2013-03-19 03:31:42 +01:00
|
|
|
*ansible*(1), *ansible-playbook*(1), *ansible-doc*(1)
|
2012-08-14 16:46:16 +02:00
|
|
|
|
|
|
|
Extensive documentation as well as IRC and mailing list info
|
|
|
|
is available on the ansible home page: <https://ansible.github.com/>
|