Coder Social home page Coder Social logo

ansible-nginx's Issues

letsencrypt

Do you have any guidance for people who want to install AtoM under SSL using LetsEncrypt?

Problem: Ansible minimum version requirement needs to be updated

After last change added, the minimun ansible version required is 2.6.2

It is needed to use the vars/main/* files. This feature was added in ansible PR:

ansible/ansible#36357

The error in role when using ansible<2.6.2 is:

TASK [artefactual-nginx : Ensure log directory exist] ******************************************************************************************************************
Tuesday 23 March 2021  18:32:50 +0100 (0:00:01.961)       0:00:07.691 *********
fatal: [atom1.mamedin-test.camps.accesstomemory.org]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'nginx_log_dir' is undefined\n\nThe error appears to have been in '/home/maml/artefactual/deployment-OVH-FIRE/envs/camps/roles/artefactual-nginx/tasks/main.yml': line 48, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Ensure log directory exist\n  ^ here\n"}
	to retry, use: --limit @/home/maml/artefactual/deployment-OVH-FIRE/envs/camps/atom.retry

Problem: role not compatible with python3

Role fails when using ansible and python3:

TASK [external-roles/artefactual-nginx : Ensure auth_basic files created] *****************************************************************************************************************************************
failed: [XXX.accesstomemory.org] (item=dict_keys([])) => {"ansible_loop_var": "item", "changed": false, "item": "dict_keys([])", "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'dict_keys([])'"}

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.