Giter Site home page Giter Site logo

trellis-monit's Issues

Deploy error and syntax error in variables

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?

AnsibleUndefinedVariable: 'dict object' has no attribute 'iteritems'

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}

Using letsencrypt keys ?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.