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
This is just to help others that try to do this and have run into issues with certbot snap installation. I was trying to come up with a clean install method to use with ansible, and I've got it working successfully with this config (on Ubuntu):
- name: Install certbot system dependenciesansible.builtin.apt:
package:
- python3
- python3-virtualenv
- libaugeas0state: presentupdate_cache: yestags: certbot
- name: Install certbot from pipansible.builtin.pip:
name: certbotvirtualenv: /opt/certbottags: certbot
- name: Link certbot into pathansible.builtin.file:
src: /opt/certbot/bin/certbotdest: /usr/bin/certbotstate: linktags: certbot
- name: Install certbot gandi DNS pluginansible.builtin.pip:
name: certbot-plugin-gandivirtualenv: /opt/certbottags: gandi
This installs using virtualenv, as the EFF recommends, but this means that the gandi plugin needs to be installed in the same virtualenv, or certbot won't see it. HTH.
The text was updated successfully, but these errors were encountered:
This is just to help others that try to do this and have run into issues with certbot snap installation. I was trying to come up with a clean install method to use with ansible, and I've got it working successfully with this config (on Ubuntu):
This installs using virtualenv, as the EFF recommends, but this means that the gandi plugin needs to be installed in the same virtualenv, or certbot won't see it. HTH.
The text was updated successfully, but these errors were encountered: