mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
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:
committed by
Brian Coca
parent
f7c589b049
commit
3b96861b7c
@@ -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.
|
||||
|
||||
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::
|
||||
|
||||
- name: Example of looping over a command result
|
||||
|
||||
Reference in New Issue
Block a user