Comments (3)
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.
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.
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)
- Vanilla install fails HOT 2
- Sysvinit process owner HOT 6
- Allow facts.j2 override HOT 2
- Missing folders on catalina instance HOT 1
- wrong permissions for conf HOT 4
- Default role does not seem to work with Ansible 2. HOT 3
- Push new versions to Ansible Galaxy HOT 5
- Hangs at TASK [groover.tomcat : include]
- how to find the webapp path?
- [Question] Option for changes, but not install
- Tomcat 8.5.x support HOT 1
- CATALINA_OPTS not supported in systemd
- Detect tomcat version upgrade error HOT 2
- CATALINA_BASE vs CATALINA_HOME
- "msg": "AnsibleUndefinedVariable: 'dict object' has no attribute 'general'" HOT 2
- Commit PR #31
- Error While using in ansible 2.4.1.0 HOT 1
- task syntax error with tomcat 8.5
- silpion.tomcat was not found on https://galaxy.ansible.com
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-tomcat.