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

certbot_create_extra_args not defined error #220

Open
boosh opened this issue Aug 6, 2024 · 2 comments
Open

certbot_create_extra_args not defined error #220

boosh opened this issue Aug 6, 2024 · 2 comments

Comments

@boosh
Copy link

boosh commented Aug 6, 2024

Looks like it needs a default value to stop ansible failing.

fatal: [web1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: ... 'certbot_create_extra_args' is undefined\n\nThe error appears to be in '/Users/ansible/roles/geerlingguy.certbot/tasks/create-cert-standalone.yml': line 40, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate new certificate if one doesn't exist.\n  ^ here\n"}
@neeco1991
Copy link

For people experiencing this bug, for the moment you can solve defining the variable to an empty string:

certbot_create_extra_args: '' 

@pavlozt
Copy link

pavlozt commented Oct 16, 2024

@geerlingguy An unfortunate omission. Let's fix this

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

No branches or pull requests

3 participants