2kloc / trellis-monit Goto Github PK
View Code? Open in Web Editor NEWAnsible role to configure Monit with Trellis
License: MIT License
Ansible role to configure Monit with Trellis
License: MIT License
Hi,
Any idea on how to make this work with LE keys ?
If i manually change the nginx config for mysite.com to :
server_name monit.mysite.com;
ssl_certificate /etc/nginx/ssl/letsencrypt/mysite.com-bundled.cert;
ssl_certificate_key /etc/nginx/ssl/letsencrypt/mysite.com.key;
I can use the same keys that trellis created for mysite.com. But there no way I can do the same by using trellis-monit onfigs only.
Hi, I'm trying to deploy role to server. I can't do it:
ERROR! the role '2kloc.trellis-monit' was not found in /Volumes/B/Documentos/trellis2/ansible/roles:/Volumes/B/Documentos/trellis2/ansible/vendor/roles:/Volumes/B/Documentos/trellis2/ansible
The error appears to have been in '/Volumes/B/Documentos/trellis2/ansible/server.yml': line 43, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- { role: wordpress-setup, tags: [wordpress, wordpress-setup, letsencrypt] }
- { role: 2kloc.trellis-monit, tags: [monit] }
^ here
I can deploy role just changing server role line to:
- { role: trellis-monit, tags: [monit] }
Is it right?
Also, I get a syntax error in the first variable found in monit/monit.conf.j2:
# Check service every X seconds
monit_daemon: 120;
The error is: /etc/monit/conf.d/monit.conf:2: Error: syntax error 'monit_daemon'
How can be it fixed?
Hello after installing the scripts I get the following error after running
ansible-playbook
server.yml -e env=staging
TASK [TypistTech.trellis-newrelic-php : Template New Relic .ini file out to mods-available] ***************************************************************************************
System info:
Ansible 2.9.0; Darwin
Trellis 1.3.0: December 7th, 2019
---------------------------------------------------
AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'
fatal: [**IP ADRESS**]: FAILED! => {"changed": false}
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.