l-p / ansible-role-simp_le Goto Github PK
View Code? Open in Web Editor NEWAnsible role to install simp_le and generate certificates on Ubuntu/Debian.
License: MIT License
Ansible role to install simp_le and generate certificates on Ubuntu/Debian.
License: MIT License
The last fix didn't work, the venv does not get re-created so we still use the old version of the code.
First, thanks a lot for the role. I'm trying to use it, but I experienced an error at Create certificates
step:
fatal: [37.205.11.220]: FAILED! => {"changed": true, "cmd": ["/home/root/.cache/ansible-simp_le/generate-certs", "/home/root/.cache/ansible-simp_le/conf.json"], "delta": "0:00:00.027201", "end": "2016-03-13 14:27:54.053156", "failed": true, "rc": 1, "start": "2016-03-13 14:27:54.025955", "stderr": "Traceback (most recent call last):\n File \"/home/root/.cache/ansible-simp_le/generate-certs\", line 77, in <module>\n main(sys.argv)\n File \"/home/root/.cache/ansible-simp_le/generate-certs\", line 68, in main\n ret = subprocess.call(cmd, cwd=vhost[\"output\"])\n File \"/usr/lib/python2.7/subprocess.py\", line 522, in call\n return Popen(*popenargs, **kwargs).wait()\n File \"/usr/lib/python2.7/subprocess.py\", line 710, in __init__\n errread, errwrite)\n File \"/usr/lib/python2.7/subprocess.py\", line 1327, in _execute_child\n raise child_exception\nOSError: [Errno 2] No such file or directory", "stdout": "", "stdout_lines": [], "warnings": []}
I'm using Ubuntu 14.04 and don't know, what file or directory could be missing.
The acme protocol changed and simp_le is bust,
https://github.com/zenhack/simp_le/ looks ok
When running the playbook, we get this error message:
[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default).
This feature
will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
Maybe it's not the time yet to upgrade to become if you want to support older ansible versions, but it's something to be aware of.
http://docs.ansible.com/ansible/become.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.