Coder Social home page Coder Social logo

authbind? about ansible-tomcat HOT 3 OPEN

silpion avatar silpion commented on July 19, 2024
authbind?

from ansible-tomcat.

Comments (3)

 avatar commented on July 19, 2024

Hi,

there is no direct support for authbind. If I wanted to have authbind supported with the current role version, I'd go for overwriting the service template and add required configuration in your own template.

There are variables

  • tomcat_server_upstart_template
  • tomcat_server_sysvinit_template
  • tomcat_server_systemd_template

configured in defaults/main.yml which point to templates in templates/service_SERVICETYPE.j2. You can copy the template for your environment (e.g. service_upstart.j2 for Ubuntu) to your projects template/ directory and add authbind support there for yourself.

Finaly you configure tomcat_server_upstart_template (again e.g. Ubuntu) to your copy of the template.

If you think supporting authbind directly with a variable is mandatory for this role, I'd ask for either PRs or some readings why/what/how authbind should be integrated.

Hope this helps!

from ansible-tomcat.

kuza55 avatar kuza55 commented on July 19, 2024

I'm no sysadmin, but I'm trying to setup a tomcat server on AWS for a side project and this is one of the things that came up when I tried to put my app on port 80; either I needed to setup authbind or setup iptables.

I don't know which is better (though authbind seems cleaner), but I have a strong preference for having something that doesn't require me to go and modify a whole pile of templates, so I'm just leaning towards using iptables in my playbook, rather than authbind.

[EDIT]: Though now that I just tried to add an iptables rule, I see it is in Ansible 2.0 which this is not compatible with yet

from ansible-tomcat.

livin avatar livin commented on July 19, 2024

I just reviewing this ansible role for my installation and thought that AUTHBIND would be useful. Still not sure what it will take for me to setup AUTHBIND myself.

from ansible-tomcat.

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.