'\" t
. \" Title: ansible
. \" Author: [see the "AUTHOR" section]
. \" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
. \" Date: 09/13/2013
. \" Manual: System administration commands
. \" Source: Ansible 1.4
. \" Language: English
. \"
.TH "ANSIBLE" "1" "09/13/2013" "Ansible 1\&.4" "System administration commands"
. \" -----------------------------------------------------------------
. \" * Define some portability stuff
. \" -----------------------------------------------------------------
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
. \" http://bugs.debian.org/507673
. \" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
. \" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n (.g .ds Aq \(aq
.el .ds Aq '
. \" -----------------------------------------------------------------
. \" * set default formatting
. \" -----------------------------------------------------------------
. \" disable hyphenation
.nh
. \" disable justification (adjust text to left margin only)
.ad l
. \" -----------------------------------------------------------------
. \" * MAIN CONTENT STARTS HERE *
. \" -----------------------------------------------------------------
.SH "NAME"
ansible-pull \- set up a remote copy of ansible on each managed node
.SH "SYNOPSIS"
.sp
ansible \- d DEST \- U URL [options] [ <filename\& .yml> ]
.SH "DESCRIPTION"
.sp
\fB Ansible\fR is an extra\- simple tool/framework/API for doing \* (Aqremote things\* (Aq over SSH\& .
.sp
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 a source repository\& . This inverts the default \fB push\fR architecture of ansible into a \fB pull\fR architecture, which has near\- limitless scaling potential\& .
.sp
The setup playbook can be tuned to change the cron frequency, logging locations, and parameters to ansible\- pull\& .
.sp
This is useful both for extreme scale\- out as well as periodic remediation\& . Usage of the \fI fetch\fR module to retrieve logs from ansible\- pull runs would be an excellent way to gather and analyze remote logs from ansible\- pull\& .
.SH "OPTIONAL ARGUMENT"
.PP
\fB filename\& .yml\fR
.RS 4
The 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\(cq s fully\- qualified domain name and finally a playbook named
\fB local\& .yml\fR \& .
.RE
.SH "OPTIONS"
.PP
\fB \- d\fR \fI DEST\fR , \fB \- \- directory=\fR \fI DEST\fR
.RS 4
Directory to checkout repository into\& .
.RE
.PP
\fB \- U\fR \fI URL\fR , \fB \- \- url=\fR \fI URL\fR
.RS 4
URL of the playbook repository to checkout\& .
.RE
.PP
\fB \- C\fR \fI CHECKOUT\fR , \fB \- \- checkout=\fR \fI CHECKOUT\fR
.RS 4
Branch/Tag/Commit to checkout\& . If not provided, uses default behavior of module used to check out playbook repository\& .
.RE
.PP
\fB \- i\fR \fI PATH\fR , \fB \- \- inventory=\fR \fI PATH\fR
.RS 4
The
\fI PATH\fR
to the inventory hosts file\& . This can be a relative path within the checkout\& .
.RE
.PP
\fB \- \- purge\fR
.RS 4
Purge the checkout after the playbook is run\& .
.RE
.PP
\fB \- m\fR \fI NAME\fR , \fB \- \- module\- name=\fR \fI NAME\fR
.RS 4
Module used to checkout playbook repository\& . Defaults to git\& .
.RE
.SH "AUTHOR"
.sp
Ansible was originally written by Michael DeHaan\& . See the AUTHORS file for a complete list of contributors\& .
.SH "COPYRIGHT"
.sp
Copyright \(co 2012, Michael DeHaan
.sp
Ansible is released under the terms of the GPLv3 License\& .
.SH "SEE ALSO"
.sp
\fB ansible\fR (1), \fB ansible\- playbook\fR (1), \fB ansible\- doc\fR (1)
.sp
Extensive documentation as well as IRC and mailing list info is available on the ansible home page: https://ansible\& .github\& .com/