ansible-roles/d4s_user_services_perms
Andrea Dell'Amico f17ef0d2e1 library/roles/d4s_user_services_perms: Change the gcore task to handle the case of multiple users.
d4science-ghn-cluster/group_vars/ghn_d4research: The collector needs two users.
2016-11-10 14:04:14 +01:00
..
defaults library/roles/d4s_user_services_perms: Change the gcore task to handle the case of multiple users. 2016-11-10 14:04:14 +01:00
tasks library/roles/d4s_user_services_perms: Change the gcore task to handle the case of multiple users. 2016-11-10 14:04:14 +01:00
templates library/roles/d4s_user_services_perms: Add a series of task that configure a generic service to be managed by an unprivileged user. 2016-09-27 15:35:33 +02:00
README.md library/roles/d4s_user_services_perms: Add a series of task that configure a generic service to be managed by an unprivileged user. 2016-09-27 15:35:33 +02:00

README.md

Four different scenarios are covered.

  1. One smartgears tomcat instance, installed inside the users home
  2. One or more tomcat instances, each instance installed inside its users home
  3. One service, not tomcat based, installed inside the users home
  4. One service, installed inside the users home, not managed by other ansible playbooks (only the user is created)

Important note: the variable http_port(s) needs to be defined earlier in the calling playbook.

What the role does:

  • Installs the sudoers config that permits the user to restart the service
  • Installs the script that allows the user to start and stop the service without using the full path
  • Installs the README file that explains where the options files are placed and how start/stop the service
  • The default open files limits are increased