Skip to content

Conversation

@theS1LV3R
Copy link
Contributor

#49 has been stale since 2020 (but somehow not closed by the stale bot), and #180 and #171 were both closed by the stale bot.

In comparison to #180, this PR only adds --expand if explicitly set to do it with a new var, certbot_expand, as well as letting certbot handle parsing of existing domains instead of handling it through ansible.

We also check if any changes were made when running certbot by checking if its output contains "no action taken" or not instead of trying to save any state, keeping the entire role stateless.

We removed the task "Check if certificate already exists." because as mentioned above, certbot will gracefully handle if the cert already exists, and we check for that by looking for the aforementioned string.

@github-actions
Copy link

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Jun 10, 2024
@theS1LV3R
Copy link
Contributor Author

I still believe this is a good addition, as well as the repo is marked as "Maintained?" on Jeff Geerling's Ansible Content

@github-actions github-actions bot removed the stale label Jun 17, 2024
@strophy
Copy link

strophy commented Jul 15, 2024

Strongly support adding this, I just got in a real mess trying to add a domain to an existing certificate deployed by this role. Using the branch from this PR resolved my issue.

@github-actions
Copy link

This pr has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Nov 18, 2024
@theS1LV3R
Copy link
Contributor Author

Still marked as maintained, keeping this open

@github-actions github-actions bot removed the stale label Nov 25, 2024
@Hoeze
Copy link
Contributor

Hoeze commented Jan 28, 2025

@geerlingguy Would you mind merging this?

@geerlingguy geerlingguy merged commit 9045ec5 into geerlingguy:master Jan 29, 2025
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 this pull request may close these issues.

4 participants