You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
We have noticed as we develop more and more complex plays that our Tower connections to inventory seem to be open/closed per task.
Is this "by design"?
What, if any, options can we specify to afford fewer WinRM sessions per task/play/role, etc?
-T
Jordan Borean
unread,
Jun 27, 2019, 4:23:28 PM6/27/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
It is mostly by design as that's how the connection plugins are initialised. Each connection plugin is created post fork for each task executed which means we need to open a WinRM shell then close it for every task.
We've been toying with the idea of connection persistence for a while but nothing has come out of it so far. Potentially a change in the future but there are no guarantees.