Seeing this error when running: ansible-playbook -e @vars-powervm.yaml playbooks/main.yaml
fatal: [9.114.219.127]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'product_repo'\n\nThe error appears to be in '/home/wilder/ocp4.8-install/ocp4-upi-powervm-hmc/playbooks/ocp4-helpernode/tasks/setfacts.yaml': line 41, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - set_fact:\n ^ here\n"}
I found that commit 4960f6defd40de241fa383c77eb104d8514358d7 removed these lines from examples/vars-powervm.yaml.
Seeing this error when running: ansible-playbook -e @vars-powervm.yaml playbooks/main.yaml
fatal: [9.114.219.127]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'product_repo'\n\nThe error appears to be in '/home/wilder/ocp4.8-install/ocp4-upi-powervm-hmc/playbooks/ocp4-helpernode/tasks/setfacts.yaml': line 41, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - set_fact:\n ^ here\n"}
I found that commit 4960f6defd40de241fa383c77eb104d8514358d7 removed these lines from examples/vars-powervm.yaml.
When I added them back into my vars-powervm.yaml the error went away.
(FYI: After making the change I ran into a later error /"bin/sh: openshift-install: command not found", but I think this is unrelated.)