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:
Allyson Bowles 2016-04-25 11:16:28 -05:00 committed by Brian Coca
parent f7c589b049
commit 3b96861b7c

View file

@ -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