refactor credential injection for builtin types

this cleanups up a _lot_ of code duplication that we have for builtin
credential types. it will allow customers to setup custom inventory
sources that utilize builtin credential types (e.g., a custom inventory
script that could use an AzureRM credential)

see: https://github.com/ansible/ansible-tower/issues/7852
This commit is contained in:
Ryan Petrello
2018-01-17 15:10:02 -05:00
parent 1a98cedc0f
commit dbb4d2b011
4 changed files with 210 additions and 90 deletions

File diff suppressed because it is too large Load Diff