don't ignore SSH connection plugin options (move SSH connection plugin options away from PlayContext) #49470
Integration tests provided.
Could be added to https://github.com/ansible/ansible/projects/8.
Thanks to @adriensaladin for pointing out this issue.
- Keep ssh_executable in base.yml since this value is used in order to determine which connection plugin to instantiate: https://github.com/ansible/ansible/blob/34c57b4c4291f7d4fb51df8a0459b37428e344c4/lib/ansible/playbook/play_context.py#L602 - retries: use default value from base.yml (SSH connection plugin default value is ignored)
don't break backward compatibility: default values for plugin options were ignored, then remove them
bcoca left a comment
So i've been doing something similar, but avoiding the requirement of play_context
#38861 <= among other things now puts 'options' in the inheritance path for play objects, so we can now pull the info from the tasks
#49397 <= closer to this ticket, its moving the resolution into the connection plugins themselves