PLAYBOOK: haproxy_service_config.yml *************************************************************************************
2 plays in /etc/ansible/ansible_collections/openstack/osa/playbooks/haproxy_service_config.yml
ERROR! The field 'hosts' has an invalid value, which includes an undefined variable. The error was: 'service_group' is undefined. 'service_group' is undefined
The error appears to be in '/etc/ansible/ansible_collections/openstack/osa/playbooks/haproxy_service_config.yml': line 25, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- hosts: "{{ service_group }}"
^ here
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:
Well we got a bit farther with the hack:
PLAYBOOK: haproxy_ service_ config. yml ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* * ansible_ collections/ openstack/ osa/playbooks/ haproxy_ service_ config. yml
2 plays in /etc/ansible/
ERROR! The field 'hosts' has an invalid value, which includes an undefined variable. The error was: 'service_group' is undefined. 'service_group' is undefined
The error appears to be in '/etc/ansible/ ansible_ collections/ openstack/ osa/playbooks/ haproxy_ service_ config. yml': line 25, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- hosts: "{{ service_group }}"
^ here
We could be wrong, but this one looks like it might be an issue with
missing quotes. Always quote template expression brackets when they
start a value. For instance:
with_items:
- {{ foo }}
Should be written as:
with_items:
- "{{ foo }}"
EXIT NOTICE [Playbook execution failure] ******* ******* ******* ******* ******* *** ======= ======= ======= ======= ======= ======= ======= ======= ======= ======= ==
=======