Enable Ansible version to be collected from EEs

This commit is contained in:
beeankha
2021-03-16 17:09:34 -04:00
parent 31124e07c6
commit ef6297377b
4 changed files with 33 additions and 2 deletions

View File

@@ -728,6 +728,13 @@ class UnifiedJob(PolymorphicModel, PasswordFieldsModel, CommonModelNameNotUnique
editable=False,
help_text=_("The Collections names and versions installed in the execution environment."),
)
ansible_version = models.CharField(
max_length=50,
blank=True,
default='',
editable=False,
help_text=_("The version of Ansible Core installed in the execution environment."),
)
def get_absolute_url(self, request=None):
RealClass = self.get_real_instance_class()