Code Monkey home page Code Monkey logo

Comments (6)

jdauphant avatar jdauphant commented on September 23, 2024

For the new line, it's normaly already done :
https://travis-ci.org/jdauphant/ansible-role-nginx/builds/45886297#L783
That's strange, what is the ansible version ?

from ansible-role-nginx.

 avatar commented on September 23, 2024

1.8.2. . I also ran into trouble with the v variable being None too. I just upgraded my remote boxes to Fedora 21.

from ansible-role-nginx.

 avatar commented on September 23, 2024

i think i was a bit sleep deprived to totally overlook the \n's that are quite obviously there. even if they don't seem to be rendering properly.

from ansible-role-nginx.

jdauphant avatar jdauphant commented on September 23, 2024

@jrobeson can I close the ticket ?

from ansible-role-nginx.

 avatar commented on September 23, 2024

it still effects me, but i also am not using this role anymore, since it can't handle some of the stuff i want it to do.

from ansible-role-nginx.

jdauphant avatar jdauphant commented on September 23, 2024

I was thinking to add the support for syntax like that :

 bar: |
     listen 9090;
     server_name ansible;
     root "/tmp/site2";
     location / { 
           try_files $uri $uri/ /index.html; 
     }
     location /images/ {
         try_files $uri $uri/ /index.html;
         allow 127.0.0.1;
         deny all;
     }

In yaml "|" is a string where new lines are keeped.

What do you thinks ? this can solve some of your problems ?

from ansible-role-nginx.

Related Issues (20)

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.