Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ansible.errors.AnsibleUndefinedVariable: 'haproxy_stats_listener_options' is undefined #47

Closed
bcg62 opened this issue Sep 8, 2021 · 1 comment · Fixed by #48
Closed

Comments

@bcg62
Copy link

bcg62 commented Sep 8, 2021

haproxy_stats_listener_options is not set by default but referenced by the template causing a failure.

should this be uncommented and defaulted as haproxy_stats_listener_options: [] ?

3abed7d#diff-23e21b6c89468f7534697ad091835b3ee5e0213b37ace489488234e5a9548ec4R95

@goldyfruit
Copy link
Contributor

Hi @bcg62

Thanks for the issue, feel free to create a PR, I'll review it and merge it.
Otherwise, I'll try to fix that soon as possible.
👍

dsavineau added a commit to dsavineau/ansible-haproxy that referenced this issue Sep 9, 2021
Otherwise the playbook will return

```
ansible.errors.AnsibleUndefinedVariable: 'haproxy_stats_listener_options'
is undefined
```

Closes: uoi-io#47

Signed-off-by: Dimitri Savineau <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants