editd / ansible-supervisor_task Goto Github PK
View Code? Open in Web Editor NEWA role for creating supervisor tasks.
License: MIT License
A role for creating supervisor tasks.
License: MIT License
As per comment here: https://github.com/EDITD/pypi/pull/6#discussion_r368475032
program_name
for example)Otherwise there is no way (other than manually) to remove a task.
Especially handy when renaming a supervisor task
Can anyone give me example of configuring two or more tasks?
There's no support for signaling on 12.04 yet, so restarting is still better than doing nothing!
Details: https://bugs.launchpad.net/ubuntu/+source/supervisor/+bug/1546115
Workaround: edit the post-installation script to ignore "false" errors
Sometimes (observed in a docker container) the role will fail.
TASK: [EDITD.supervisor_task | Update supervisor] *****************************
failed: [127.0.0.1] => {"changed": true, "cmd": ["supervisorctl", "update"], "delta": "0:00:00.073057", "end": "2016-08-10 14:12:29.548373", "rc": 2, "start": "2016-08-10 14:12:29.475316", "warnings": []}
stdout: error: <class socket.error>, [Errno 2] No such file or directory: file: /usr/lib/python2.7/socket.py line: 224
Looks like this is caused by supervisord not running when update is called: Supervisor/supervisor#121 (comment)
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.