You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 9, 2022. It is now read-only.
Hi! I noticed the parameter validation structure used in this role (and other controller roles) might not have been set up correctly. This causes my playbooks to fail with vague errors. This might be an ansible version related issue.
If I change this line in nginxinc.nginx_controller_user_role/tasks/main.yml on line 5: that: ("{{ item }} is defined") and ("{{ item }} | length > 0")
To: that: item is in vars and vars[item] | length > 0
..validation works as expected
Hi! I noticed the parameter validation structure used in this role (and other controller roles) might not have been set up correctly. This causes my playbooks to fail with vague errors. This might be an ansible version related issue.
If I change this line in nginxinc.nginx_controller_user_role/tasks/main.yml on line 5:
that: ("{{ item }} is defined") and ("{{ item }} | length > 0")
To:
that: item is in vars and vars[item] | length > 0
..validation works as expected
My version info:
The text was updated successfully, but these errors were encountered: