Ansible - ansible-pull

> Infrastructure as code > Ansible

1 - About

ansible-pull is command line client that runs playbook in a pull way (ie on the localhost) whereas ansible-playbook will run them in a push way.

It is a small script that will checkout a repo of configuration instructions from git, and then run ansible-playbook against that content.


3 - Help

Run ansible-pull –help for details.

4 - Example

There’s also a clever playbook available to configure ansible-pull via a crontab from push mode.