mirror of
https://github.com/ansible/awx.git
synced 2026-05-17 14:27:42 -02:30
Call parent get_plugin_env for foreman
This commit is contained in:
@@ -2662,7 +2662,7 @@ class satellite6(PluginFileInjector):
|
|||||||
# this assumes that this is merged
|
# this assumes that this is merged
|
||||||
# https://github.com/ansible/ansible/pull/52693
|
# https://github.com/ansible/ansible/pull/52693
|
||||||
credential = inventory_update.get_cloud_credential()
|
credential = inventory_update.get_cloud_credential()
|
||||||
ret = {}
|
ret = super(satellite6, self).get_plugin_env(inventory_update, private_data_dir, private_data_files)
|
||||||
if credential:
|
if credential:
|
||||||
ret['FOREMAN_SERVER'] = credential.get_input('host', default='')
|
ret['FOREMAN_SERVER'] = credential.get_input('host', default='')
|
||||||
ret['FOREMAN_USER'] = credential.get_input('username', default='')
|
ret['FOREMAN_USER'] = credential.get_input('username', default='')
|
||||||
|
|||||||
Reference in New Issue
Block a user