Code Monkey home page Code Monkey logo

ansible-nginx-drupal's People

Contributors

calystod avatar davidmajorel avatar helalferrari avatar julienlevasseur avatar pbuyle avatar praseodym avatar sebas5384 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-nginx-drupal's Issues

Unable to generate sites config files

Thank you for putting this ansible role together.
I'm new to ansible but have a decent understanding of what's going on.

I cannot get the role to read the config variables properly.

fatal: [104.154.x.x]: FAILED! => {"failed": true, "msg": "the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'ansible.vars.unsafe_proxy.AnsibleUnsafeText object' has no attribute 'file_name'\n\nThe error appears to have been in '/Users/stevenkinley/ansible/lamp_simple/roles/FloeDesignTechnologies.nginx-drupal/tasks/sites.yml': line 4, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n file: path={{nginx_drupal_config_path}}/sites-enabled state=directory\n- name: \"Create available sites configuration files\"\n ^ here\n"}

I've tried multiple syntaxes formats, none seem to work.

My playbook.yml

    - role: FloeDesignTechnologies.nginx-drupal
      nginx_drupal_sites:
        - file_name: foo
          server_name: foo.org
          alternate_server_name: www.foo.org
          root: /var/www/foo
          http:
            port: 80


 - { role: FloeDesignTechnologies.nginx-drupal, nginx_drupal_sites: [{ file_name: drupal8.my, server_name: drupal8.my, root: /var/www/drupal8.my/public, http: {port: 80}}]} 

I'm sure I'm missing some subtle syntax thing.

Any help would be appreciated.

Thanks!

Juju Charm using Ansible

Hey! congrats for the work!

I'm currently working in a Drupal Juju charm, but! and using the Perusio configs, and I already was considering a CM for doing that, currently it's all in shell scripts.
https://github.com/TallerWebSolutions/devops/tree/master/charms/saucy/drupal

The thing is, that the charm can use Ansible, so, we can work together in this, what you say?

I give it a look at your code, and I'm worried about loosing the updates from the Perusio confs, but hey thats something we can see in the future.

Define upstream for every site

Hi!

What do you think about feature to define upstream servers for each site separately? I need this feature, because i use this role on caching proxy server for multiple drupal sites, that hosts on different webservers

aio variable name inconsistency

in readme it's nginx_drupal_use_aio: Whether or not to use AIO to server video and audio file, defaults to true.

and in code it's {% if nginx_drupal_aio %} (see templates/apps/drupal/drupal.j2 )

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.