mirror of
https://github.com/ansible/awx.git
synced 2026-05-20 15:27:47 -02:30
[AAP-74343] Use comma delimiter for ANSIBLE_CALLBACKS_ENABLED
Ansible's CALLBACKS_ENABLED config is type list and splits on commas. The colon delimiter would cause combined callback names to be treated as a single invalid name. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1159,7 +1159,7 @@ class RunJob(SourceControlMixin, BaseTask):
|
|||||||
|
|
||||||
env['ANSIBLE_CALLBACKS_ENABLED'] = 'indirect_instance_count'
|
env['ANSIBLE_CALLBACKS_ENABLED'] = 'indirect_instance_count'
|
||||||
if 'callbacks_enabled' in config_values:
|
if 'callbacks_enabled' in config_values:
|
||||||
env['ANSIBLE_CALLBACKS_ENABLED'] += ':' + config_values['callbacks_enabled']
|
env['ANSIBLE_CALLBACKS_ENABLED'] += ',' + config_values['callbacks_enabled']
|
||||||
|
|
||||||
if flag_enabled("FEATURE_INDIRECT_NODE_COUNTING_ENABLED"):
|
if flag_enabled("FEATURE_INDIRECT_NODE_COUNTING_ENABLED"):
|
||||||
# Add vendor collections path for external query file discovery
|
# Add vendor collections path for external query file discovery
|
||||||
|
|||||||
Reference in New Issue
Block a user