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
The first tasks checks if two undefined variables exists:
- name: Check required variables
ansible.builtin.fail: msg="Variable '{{ item }}' is not defined"
when: item not in vars
loop:
- certificate
- certificate_key
- server_name
Then later you use the right variables names (ie ssl_certificate and ssl_certificate_key) :
Nevermind those are variables used in templates (not mentionned in README or defaults).
So you have to pass the cert/key with the above vars split with pipe:
In defaults:
In
tasks/main.yml
The first tasks checks if two undefined variables exists:
Then later you use the right variables names (ie ssl_certificate and ssl_certificate_key) :
The text was updated successfully, but these errors were encountered: