Skip to content

Commit

Permalink
fix for letsencrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
ansibleguy committed Sep 2, 2024
1 parent dc9890e commit 937c8d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion filter_plugins/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def prepare_letsencrypt(cls, sites: dict, state: str, email: str = None, only_si
):

try:
if not site['plain_only'] and site['ssl']['mode'] == 'letsencrypt':
if ('plain_only' not in site or not site['plain_only']) and site['ssl']['mode'] == 'letsencrypt':
_name = cls.safe_key(unsafe_name)
_domains = [site['domain']]
_state, _email, _key_size = state, email, None
Expand Down

0 comments on commit 937c8d5

Please sign in to comment.