Skip to content

Instantly share code, notes, and snippets.

@goneri
Created April 23, 2020 22:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goneri/9669a9df323c71e51ae0c4191f1ad921 to your computer and use it in GitHub Desktop.
Save goneri/9669a9df323c71e51ae0c4191f1ad921 to your computer and use it in GitHub Desktop.

Connection

Connection are reused if the task has a loop.

lib/ansible/executor/task_executor.py -> self._connection = self._get_connection(variables=variables, templar=templar)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment