2017-07-03 16:51:41 +02:00
|
|
|
Several different scenarios are covered.
|
2015-05-30 19:58:55 +02:00
|
|
|
|
2016-09-26 18:17:45 +02:00
|
|
|
1. One smartgears tomcat instance, installed inside the user's home
|
|
|
|
2. One or more tomcat instances, each instance installed inside its
|
|
|
|
user's home
|
|
|
|
3. One service, not tomcat based, installed inside the user's home
|
|
|
|
4. One service, installed inside the user's home, not managed by other
|
|
|
|
ansible playbooks (only the user is created)
|
2017-07-03 16:51:41 +02:00
|
|
|
5. ACLs are used if more than one user must be able to read/write some
|
|
|
|
common directories or files. This works both with the gcore and the
|
|
|
|
smartgears cases
|
2016-09-26 18:17:45 +02:00
|
|
|
|
|
|
|
Important note: the variable 'http_port(s)' needs to be defined earlier in the calling playbook.
|
2015-07-24 12:00:37 +02:00
|
|
|
|
|
|
|
What the role does:
|
|
|
|
|
2016-09-26 18:17:45 +02:00
|
|
|
- Installs the sudoers config that permits the user to restart the
|
|
|
|
service
|
|
|
|
- Installs the script that allows the user to start and stop the
|
2015-07-24 12:00:37 +02:00
|
|
|
service without using the full path
|
2016-09-26 18:17:45 +02:00
|
|
|
- Installs the README file that explains where the options files are
|
2015-07-24 12:00:37 +02:00
|
|
|
placed and how start/stop the service
|
2016-09-26 18:17:45 +02:00
|
|
|
- The default open files limits are increased
|
2017-07-03 16:51:41 +02:00
|
|
|
- Creates additional users if needed, and adds ACLS to allow them
|
|
|
|
access shared directories
|