Comments (4)
The documentation addresses this pretty clearly from what I can see. You should be installing from the sources on jessie, the install time is very short and works without messing with the sources list which IMO always gets forgotten.
https://github.com/geerlingguy/ansible-role-certbot#source-installation-from-git
from ansible-role-certbot.
installing from source still needs apt: "name=python-ndg-httpsclient state=present"
in Debian 8
:
Traceback (most recent call last):
File "/usr/bin/certbot", line 6, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3019, in <module>
@_call_aside
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3003, in _call_aside
f(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3032, in _initialize_master_working_set
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 655, in _build_master
ws.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 963, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 849, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'ndg-httpsclient' distribution was not found and is required by requests
from ansible-role-certbot.
The documentation says source installation might be desired for Debian < 8, which seems to me suggests that it's not required on Debian 8, but it is unless you have jessie-backports.
I think it would be better if the documentation is change to something like "Debian < 8 or Debian 8 without backports"?
from ansible-role-certbot.
See commit linked above ^
Basically, if you're on any OS older than the latest generation of Ubuntu/CentOS/Debian/etc., then I'd recommend using the source install instead of the package install.
Alternatively, in the future this role might use the upstream package repository instead of the OS repos, meaning the package install would (or at least should) install a much more recent version. And in Debian 8's case... one that actually is able to be installed since it would exist :D
from ansible-role-certbot.
Related Issues (20)
- role fails on centos-stream-8 HOT 2
- Syntax Error on install-with-snap.yml' HOT 3
- Simple example HOT 3
- Install from source is broken HOT 3
- standalone mode fails when certbot_auto_renew_user is different than root HOT 5
- Documentation unclear: DNS challenge supported? HOT 7
- Adding new domains to a cert_item does not work HOT 6
- setup-RedHat.yml HOT 7
- Allow for configurable cronjob name and file HOT 5
- [DEPRECATION WARNING]: evaluating u'certbot_create_standalone_stop_services' as a bare variable HOT 3
- Unable to install from Source HOT 4
- chown failed: failed to look up user root HOT 2
- Feature request: certbot_install_method = podman HOT 2
- Missing certbot-auto HOT 4
- FEATURE: Support for certbot plugins(Nginx,Apache) HOT 2
- Recommendation to Prioritize Snap Installation for Certbot and Deprecate Outdated Install Methods HOT 2
- `certbot_create_standalone_stop_services` does not stop nginx on first run
- 5.1.1 not published on ansible galaxy HOT 5
- Use nginx -s reload or systemd reload nginx instead of restart
- communication
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-role-certbot.