hi everybody
I can't solve my problem for several days. maybe someone had a similar situation.
I have an inventory in awx. in this inventory, I have a script written in python as a source. this script is hosted in gitlab. variables are also used in this script. I have successfully added a yaml file with my variables that are necessary for the script to work to the
inventories/my-project/group_vars/ directory. these permutations have been successfully pulled up from gitlab and are located in inventory variables (
the Variables field). but how do I make sure that these same variables are still displayed in the source variables (
Source variables field)?



I also tried this way, for example, to access variables from a script, but an error occurs
BRANCH_NAME = os.environ['branch_name']that is, I need to understand how to make sure that automatically variables from gitlab are transferred to
Source variables or how to correctly access variables from the
Variables inventory from the script.
awx version 21.7.
thanks!