Refer to the play_host as remote instead of local (#15307)
It was pointed out on IRC that the "local machine" terminology is confusing, since in this instance it refers to the host *against* which Ansible is running, in contrast to the host *from* which Ansible is running.
This commit is contained in:
parent
f7c589b049
commit
3b96861b7c
1 changed files with 1 additions and 1 deletions
|
@ -340,7 +340,7 @@ Iterating Over The Results of a Program Execution
|
||||||
.. note:: This is an uncommon thing to want to do, but we're documenting it for completeness. You probably won't be reaching for this one often.
|
.. note:: This is an uncommon thing to want to do, but we're documenting it for completeness. You probably won't be reaching for this one often.
|
||||||
|
|
||||||
Sometimes you might want to execute a program, and based on the output of that program, loop over the results of that line by line.
|
Sometimes you might want to execute a program, and based on the output of that program, loop over the results of that line by line.
|
||||||
Ansible provides a neat way to do that, though you should remember, this is always executed on the control machine, not the local
|
Ansible provides a neat way to do that, though you should remember, this is always executed on the control machine, not the remote
|
||||||
machine::
|
machine::
|
||||||
|
|
||||||
- name: Example of looping over a command result
|
- name: Example of looping over a command result
|
||||||
|
|
Loading…
Reference in a new issue