mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-27 18:50:21 -07:00
Update playbooks_delegation.rst
There's a space missing "hosts:127.0.0.1" should be "hosts: 127.0.0.1"
This commit is contained in:
parent
853733c1cd
commit
21094614c0
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue