Merge pull request #10188 from simontite-capita-ti/patch-1

Update playbooks_delegation.rst
pull/10192/head
Brian Coca 10 years ago
commit 9820165265

@ -175,7 +175,7 @@ It may be useful to use a playbook locally, rather than by connecting over SSH.
for assuring the configuration of a system by putting a playbook on a crontab. This may also be used for assuring the configuration of a system by putting a playbook on a crontab. This may also be used
to run a playbook inside an OS installer, such as an Anaconda kickstart. to run a playbook inside an OS installer, such as an Anaconda kickstart.
To run an entire playbook locally, just set the "hosts:" line to "hosts:127.0.0.1" and then run the playbook like so:: To run an entire playbook locally, just set the "hosts:" line to "hosts: 127.0.0.1" and then run the playbook like so::
ansible-playbook playbook.yml --connection=local ansible-playbook playbook.yml --connection=local

Loading…
Cancel
Save