Hi Brian,
I just tried once again and am now able to connect all the hosts but getting below error. I have created group variables for each user but it's not working when I execute the playbook. can you please suggest to me how I can achieve this?
Error Screenshot:
TASK [t24-app : Download R21 AMR package] **********************************************************************************************************************************
fatal: [PERU]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 't24_unix_product_tmp' is undefined\n\nThe error appears to be in '/oams/Bankareas/ansadmin/t24-product/roles/t24-app/tasks/main.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# tasks file for t24-app\n- name: Download R21 AMR package\n ^ here\n"}
fatal: [BRMB]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 't24_unix_product_tmp' is undefined\n\nThe error appears to be in '/oams/Bankareas/ansadmin/t24-product/roles/t24-app/tasks/main.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# tasks file for t24-app\n- name: Download R21 AMR package\n ^ here\n"}
fatal: [COMB]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 't24_unix_product_tmp' is undefined\n\nThe error appears to be in '/oams/Bankareas/ansadmin/t24-product/roles/t24-app/tasks/main.yml': line 3, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# tasks file for t24-app\n- name: Download R21 AMR package\n ^ here\n"}
i have created group variables like below
Thanks,
Bala.P