table of contents
other versions
- wheezy-backports 1.7.2+dfsg-2~bpo70+1
- jessie 1.7.2+dfsg-2
- jessie-backports 2.2.1.0-2~bpo8+1
- testing 2.2.1.0-2
- unstable 2.2.1.0-2
ANSIBLE(1) | System administration commands | ANSIBLE(1) |
NAME¶
ansible-pull - set up a remote copy of ansible on each managed nodeSYNOPSIS¶
ansible -d DEST -U URL [options] [ <filename.yml> ]DESCRIPTION¶
Ansible is an extra-simple tool/framework/API for doing 'remote things' over SSH.OPTIONAL ARGUMENT¶
filename.ymlThe name of one the YAML format files to run
as an ansible playbook. This can be a relative path within the checkout. If
not provided, ansible-pull will look for a playbook based on the host’s
fully-qualified domain name, on the host hostname and finally a playbook named
local.yml.
OPTIONS¶
-d DEST, --directory=DESTDirectory to checkout repository into. If not
provided, a subdirectory of ~/.ansible/pull/ will be used.
-U URL, --url=URL
URL of the playbook repository to
checkout.
-C CHECKOUT, --checkout=CHECKOUT
Branch/Tag/Commit to checkout. If not
provided, uses default behavior of module used to check out playbook
repository.
-f, --force
Force running of playbook even if unable to
update playbook repository. This can be useful, for example, to enforce
run-time state when a network connection may not always be up or
possible.
-i PATH, --inventory=PATH
The PATH to the inventory hosts file.
This can be a relative path within the checkout.
--purge
Purge the checkout after the playbook is
run.
-m NAME, --module-name=NAME
Module used to checkout playbook repository.
Defaults to git.
-o, --only-if-changed
Run the playbook only if the repository has
changed
AUTHOR¶
Ansible was originally written by Michael DeHaan. See the AUTHORS file for a complete list of contributors.COPYRIGHT¶
Copyright © 2012, Michael DeHaanSEE ALSO¶
ansible(1), ansible-playbook(1), ansible-doc(1)AUTHOR¶
:doctype:manpageAuthor.
05/26/2014 | Ansible 1.7 |