diff --git a/development/hosts b/development/hosts index 6b974b1..dcc9250 100644 --- a/development/hosts +++ b/development/hosts @@ -10,8 +10,7 @@ # Ex 1: Ungrouped hosts, specify before any group headers. -[development] -epolsa5069bit03.tpolizei-bw.de - - +[dbservers] +epolsa5510epsfe.tpolizei-bw.de #epsfe +#epolsq5702stu02.tpolizei-bw.de #RHELEDB5-7 diff --git a/install.sh b/install.sh deleted file mode 100755 index f7b27af..0000000 --- a/install.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -cd /opt/rola/ -cp -r /sw/AMS/WEB/0008_8.0.8.0_AMS/ . -mv 0008_8.0.8.0_AMS/ ams -cd /opt/rola/ams/linux -mkdir Appserver -mv Appserver.tar.gz Appserver -cd Appserver -tar xvzf Appserver.tar.gz -rm Appserver.tar.gz - -rm Database.tar.gz -mkdir Services -mv Services.tar.gz Services -cd Services -tar xvf Services.tar.gz -rm Services.tar.gz - -cd /opt/rola/ams/linux/webclient-services -tar xvf rsAmsBvService-8.0.8.0.tar.gz -tar xvf SharedComponents-8.0.8.0.tar.gz -rm *.gz diff --git a/playbook.retry b/playbook.retry deleted file mode 100644 index 239c3c3..0000000 --- a/playbook.retry +++ /dev/null @@ -1,2 +0,0 @@ -polsa5079bit03.polizei-bw.net -polsa5079stu02.polizei-bw.net diff --git a/playbook.yml b/playbook.yml index fcd85f6..b664354 100644 --- a/playbook.yml +++ b/playbook.yml @@ -6,32 +6,18 @@ ######### Entwicklungsumgebung ############## ########################################################## - name: Installation für Entwicklungsumgebung - hosts: development - become_user: jetty + hosts: dbservers + become_user: root become: yes + environment: + CV_ASSUME_DISTID: OEL7.8 + roles: - ##- chrony - ##- base_installation - ##- git - ##- ams_0008_8.0.8.0 - ##- ams_sso - ##- ams_0008_8.0.8.0_AdminServer - ##- ams_0013_8.0.9.0 - ##- ams_0013_8.0.9.0_hotfix - ##- ams_0014_14.0.2.0 - ##- ams_0014_14.0.2.0_AdminServer - ##- ams_0015_8.0.9.0_hotfix - ##- ams_0016_14.1.2.0 - ##- ams_0016_14.1.2.0_AdminServer - #- ams_0017_14.1.4.0 - #- ams_0017_14.1.4.0_AdminServer - #- ams_0019_14.1.6.0 - #- ams_0019_14.1.6.0_AdminServer - #- ams_0023_14.1.8.0 - #- ams_0023_14.1.8.0_AdminServer - - ams_systemd - +# - filesystem +# - ora_inst_ahf +# - db1913 + - tvd #handlers: #- name: stopALL @@ -55,161 +41,6 @@ #chdir: "/home/jetty" #async: 120 #poll: 5 - - - - - - -########################################################## -######### QS ############## -########################################################## -- name: Installation für QS-Umgebung - hosts: qs - become_user: jetty - become: yes - - roles: - ##- chrony - ##- base_installation - ##- base_installation - ##- git - ##- ams_0008_8.0.8.0 - ##- ams_sso - ##- ams_0008_8.0.8.0_AdminServer - ##- ams_0013_8.0.9.0 - ##- ams_0015_8.0.9.0 - ##- ams_0017_14.1.4.0 - ##- ams_0017_14.1.4.0_AdminServer - #- ams_0019_14.1.6.0 - #- ams_0019_14.1.6.0_AdminServer - #- enable_import_cv_xml - ##- disable_import_cv_xml - #- ams_0019_14.1.6.0_enable_monitoring - #- ams_0023_14.1.8.0 - #- ams_0023_14.1.8.0_AdminServer - - ams_systemd - - #handlers: - #- name: stopALL - #command: ./stopALL - #args: - #chdir: "/home/jetty" - #async: 1 - #poll: 0 - - #- name: Wait for status File Appserver is absent - #local_action: - #module: wait_for - #path: /opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.status - #state: absent - #async: 120 - #poll: 5 - - #- name: startALL - #command: ./startALL - #args: - #chdir: "/home/jetty" - #async: 120 - #poll: 5 - - -########################################################## -######### Produktionsumgebung ############## -########################################################## -- name: Installation für Produktionsumgebung - hosts: production - become_user: jetty - become: yes - - roles: - #- chrony - #- base_installation - #- git - #- ams_0008_8.0.8.0 - #- ams_sso - #- ams_0008_8.0.8.0_AdminServer - #- ams_0013_8.0.9.0 - #- ams_0017_14.1.4.0 - #- ams_0017_14.1.4.0_AdminServer - #- ams_systemd - - ams_0023_14.1.8.0 - - ams_0023_14.1.8.0_AdminServer - - - handlers: - - name: stopALL - command: ./stopALL - args: - chdir: "/home/jetty" - async: 1 - poll: 0 - - - name: Wait for status File Appserver is absent - local_action: - module: wait_for - path: /opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.status - state: absent - async: 120 - poll: 5 - - - name: startALL - command: ./startALL - args: - chdir: "/home/jetty" - async: 120 - poll: 5 - - - -########################################################## -######### Schulungsumgebung ############## -########################################################## -- name: Installation für Schulungsumgebung - hosts: teaching - become_user: jetty - become: yes - - roles: - ##- chrony - ##- base_installation - ##- git - ##- ams_0008_8.0.8.0 - ##- ams_sso - ##- ams_0008_8.0.8.0_AdminServer - ##- ams_0013_8.0.9.0 - ##- ams_0017_14.1.4.0 - ##- ams_0017_14.1.4.0_AdminServer - ##- ams_0019_14.1.6.0 - ##- ams_0019_14.1.6.0_AdminServer - #- ams_0023_14.1.8.0 - #- ams_0023_14.1.8.0_AdminServer - - ams_systemd - - - - #handlers: - #- name: stopALL - #command: ./stopALL - #args: - #chdir: "/home/jetty" - #async: 1 - #poll: 0 - - #- name: Wait for status File Appserver is absent - #local_action: - #module: wait_for - #path: /opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.status - #state: absent - #async: 120 - #poll: 5 - - #- name: startALL - #command: ./startALL - #args: - #chdir: "/home/jetty" - #async: 120 - #poll: 5 diff --git a/production/hosts b/production/hosts index f9214af..4c0e71c 100644 --- a/production/hosts +++ b/production/hosts @@ -11,7 +11,3 @@ # Ex 1: Ungrouped hosts, specify before any group headers. [production] -polsa5079bit03.polizei-bw.net -polsa5079stu02.polizei-bw.net - - diff --git a/qs/hosts b/qs/hosts index 7b75322..3870651 100644 --- a/qs/hosts +++ b/qs/hosts @@ -11,4 +11,3 @@ # Ex 1: Ungrouped hosts, specify before any group headers. [qs] -epolsa5073bit03.tpolizei-bw.de diff --git a/roles/ams_0006_8.0.5.0/README.md b/roles/ams_0006_8.0.5.0/README.md deleted file mode 100644 index 4a28b8c..0000000 --- a/roles/ams_0006_8.0.5.0/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0006_8.0.5.0 - -Requirements ------------- - -Unterhalb von files/ und templates/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -Keine. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/ams_0006_8.0.5.0/tasks/main.yml b/roles/ams_0006_8.0.5.0/tasks/main.yml deleted file mode 100644 index 13caaa8..0000000 --- a/roles/ams_0006_8.0.5.0/tasks/main.yml +++ /dev/null @@ -1,88 +0,0 @@ ---- - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: ./templates/pwd_Appserver.xml.j2 - dest: /opt/rola/ams/linux/Appserver/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: ./templates/rsWebserviceAppserver.xml.j2 - dest: /opt/rola/ams/linux/Appserver/config/rsWebserviceAppserver.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to /opt/rola/ams/linux/Appserver/service/config/rsWebserviceAppserver.conf - template: - src: ./templates/rsWebserviceAppserver.conf.j2 - dest: /opt/rola/ams/linux/Appserver/service/config/rsWebserviceAppserver.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file pwd_ServiceIMP.xml.j2 with owner and permissions - template: - src: ./templates/pwd_ServiceIMP.xml.j2 - dest: /opt/rola/ams/linux/Services/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Copy file rsWebserviceImp20.xml.j2 with owner and permissions - template: - src: ./templates/rsWebserviceImp20.xml.j2 - dest: /opt/rola/ams/linux/Services/config/rsWebserviceImp20.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceImp20.conf.j2 with owner and permissions - template: - src: ./templates/rsWebserviceImp20.conf.j2 - dest: /opt/rola/ams/linux/Services/service/config/rsWebserviceImp20.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: ./templates/rsAmsBvService.conf.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.5.0/service/config/rsAmsBvService.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: ./templates/tech.database.yaml.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.5.0/frameworkconfig/prefs/tech.database.yaml - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserver with owner and permissions - template: - src: ./templates/jetty.xml.j2 - dest: /opt/rola/ams/linux/Appserver/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Services with owner and permissions - template: - src: ./templates/jetty.xml.j2 - dest: /opt/rola/ams/linux/Services/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0006_8.0.5.0/templates/jetty.xml.j2 b/roles/ams_0006_8.0.5.0/templates/jetty.xml.j2 deleted file mode 100644 index 00e98dd..0000000 --- a/roles/ams_0006_8.0.5.0/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0006_8.0.5.0/templates/pwd_Appserver.xml.j2 b/roles/ams_0006_8.0.5.0/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 89c29de..0000000 --- a/roles/ams_0006_8.0.5.0/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 04.11.2019 16:34:31 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0006_8.0.5.0/templates/pwd_ServiceIMP.xml.j2 b/roles/ams_0006_8.0.5.0/templates/pwd_ServiceIMP.xml.j2 deleted file mode 100644 index 89c29de..0000000 --- a/roles/ams_0006_8.0.5.0/templates/pwd_ServiceIMP.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 04.11.2019 16:34:31 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0006_8.0.5.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0006_8.0.5.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index a53de82..0000000 --- a/roles/ams_0006_8.0.5.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0006_8.0.5.0/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0006_8.0.5.0/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index a9297f8..0000000 --- a/roles/ams_0006_8.0.5.0/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8080 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserver/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0006_8.0.5.0/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0006_8.0.5.0/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 979fe97..0000000 --- a/roles/ams_0006_8.0.5.0/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - ICMMKJBDIPNPPFFIPOIHEMHAKMKHBBLJIHNMFALMPAIGBEDDIFAMDIBDAMGLKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0006_8.0.5.0/templates/rsWebserviceImp20.conf.j2 b/roles/ams_0006_8.0.5.0/templates/rsWebserviceImp20.conf.j2 deleted file mode 100644 index b6f1f88..0000000 --- a/roles/ams_0006_8.0.5.0/templates/rsWebserviceImp20.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceImp20 -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceImp20_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=7272 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceImp20-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=2048 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=imp20 -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=imp20 -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.core -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.server.imp.rest.IMPRESTServlet -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceImp20.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/webservice/rsWebserviceImp20-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceImp20-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceImp20 - -# Display name of the service -wrapper.displayname=rsWebserviceImp20 - -# Description of the service -wrapper.description=rsWebserviceImp20 - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0006_8.0.5.0/templates/rsWebserviceImp20.xml.j2 b/roles/ams_0006_8.0.5.0/templates/rsWebserviceImp20.xml.j2 deleted file mode 100644 index 001770d..0000000 --- a/roles/ams_0006_8.0.5.0/templates/rsWebserviceImp20.xml.j2 +++ /dev/null @@ -1,480 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - ICMMKJBDIPNPPFFIPOIHEMHAKMKHBBLJIHNMFALMPAIGBEDDIFAMDIBDAMGLKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübername aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0006_8.0.5.0/templates/tech.database.yaml.j2 b/roles/ams_0006_8.0.5.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 00bcfc8..0000000 --- a/roles/ams_0006_8.0.5.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 diff --git a/roles/ams_0008_8.0.8.0/.travis.yml b/roles/ams_0008_8.0.8.0/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0008_8.0.8.0/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0/README.md b/roles/ams_0008_8.0.8.0/README.md deleted file mode 100644 index 5a1b989..0000000 --- a/roles/ams_0008_8.0.8.0/README.md +++ /dev/null @@ -1,46 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 - -Requirements ------------- - -Unterhalb von templates/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss die Role - - - base_installation - -gelaufen sein. - - - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0 - -License -------- - -BSD - -Author Information ------------------- - -20200107 M. Gillitzer diff --git a/roles/ams_0008_8.0.8.0/defaults/main.yml b/roles/ams_0008_8.0.8.0/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0008_8.0.8.0/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0/handlers/main.yml b/roles/ams_0008_8.0.8.0/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0008_8.0.8.0/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0/tasks/main.yml b/roles/ams_0008_8.0.8.0/tasks/main.yml deleted file mode 100644 index 80ae795..0000000 --- a/roles/ams_0008_8.0.8.0/tasks/main.yml +++ /dev/null @@ -1,162 +0,0 @@ ---- - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: ./templates/pwd_Appserver.xml.j2 - dest: /opt/rola/ams/linux/Appserver/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: ./templates/rsWebserviceAppserver.xml.j2 - dest: /opt/rola/ams/linux/Appserver/config/rsWebserviceAppserver.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to /opt/rola/ams/linux/Appserver/service/config/rsWebserviceAppserver.conf - template: - src: ./templates/rsWebserviceAppserver.conf.j2 - dest: /opt/rola/ams/linux/Appserver/service/config/rsWebserviceAppserver.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file pwd_ServiceIMP.xml.j2 with owner and permissions - template: - src: ./templates/pwd_ServiceIMP.xml.j2 - dest: /opt/rola/ams/linux/Services/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Copy file rsWebserviceImp20.xml.j2 with owner and permissions - template: - src: ./templates/rsWebserviceImp20.xml.j2 - dest: /opt/rola/ams/linux/Services/config/rsWebserviceImp20.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceImp20.conf.j2 with owner and permissions - template: - src: ./templates/rsWebserviceImp20.conf.j2 - dest: /opt/rola/ams/linux/Services/service/config/rsWebserviceImp20.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: ./templates/rsAmsBvService.conf.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0/service/config/rsAmsBvService.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: ./templates/tech.database.yaml.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/prefs/tech.database.yaml - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserver with owner and permissions - template: - src: ./templates/jetty.xml.j2 - dest: /opt/rola/ams/linux/Appserver/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Services with owner and permissions - template: - src: ./templates/jetty.xml.j2 - dest: /opt/rola/ams/linux/Services/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ASSERVAT.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ASSERVAT.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BERICHT.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BERICHT.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BETEILIGTE_STELLE.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BETEILIGTE_STELLE.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_FARBANGABE.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_FARBANGABE.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE226.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE226.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE295.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE295.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KFZ_KENNZEICHENINFORMATION.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KFZ_KENNZEICHENINFORMATION.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MATERIAL.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MATERIAL.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MERKMAL.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MERKMAL.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_NUMMERNANGABE_BEI_FAHRZEUGEN.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_NUMMERNANGABE_BEI_FAHRZEUGEN.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_PLZORT.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_PLZORT.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_TAETOWIERUNG.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_TAETOWIERUNG.xml - state: absent - - name: Remove file /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ZULASSUNGSINFO_WFZ.xml - file: - path: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ZULASSUNGSINFO_WFZ.xml - state: absent - - name: commit changes to git - shell: | - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ASSERVAT.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BERICHT.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_BETEILIGTE_STELLE.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_FARBANGABE.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE226.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KATALOG_CODE295.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_KFZ_KENNZEICHENINFORMATION.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MATERIAL.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_MERKMAL.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_NUMMERNANGABE_BEI_FAHRZEUGEN.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_PLZORT.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_TAETOWIERUNG.xml - git rm ams/linux/Services/plugins/rola/com.rola.rsframe.project.ams/com/rola/rscase/configfiles/gui/statedependentcols/SDCC_ZULASSUNGSINFO_WFZ.xml - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0008_8.0.8.0" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0008_8.0.8.0/templates/jetty.xml.j2 b/roles/ams_0008_8.0.8.0/templates/jetty.xml.j2 deleted file mode 100644 index 00e98dd..0000000 --- a/roles/ams_0008_8.0.8.0/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0008_8.0.8.0/templates/pwd_Appserver.xml.j2 b/roles/ams_0008_8.0.8.0/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 1e5a6d6..0000000 --- a/roles/ams_0008_8.0.8.0/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0008_8.0.8.0/templates/pwd_ServiceIMP.xml.j2 b/roles/ams_0008_8.0.8.0/templates/pwd_ServiceIMP.xml.j2 deleted file mode 100644 index 1e5a6d6..0000000 --- a/roles/ams_0008_8.0.8.0/templates/pwd_ServiceIMP.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0008_8.0.8.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0008_8.0.8.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index a53de82..0000000 --- a/roles/ams_0008_8.0.8.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0008_8.0.8.0/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0008_8.0.8.0/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index a9297f8..0000000 --- a/roles/ams_0008_8.0.8.0/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8080 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserver/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0008_8.0.8.0/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0008_8.0.8.0/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 05a0d39..0000000 --- a/roles/ams_0008_8.0.8.0/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - ILNJNEBDBDLFBDAHBHJKCJGJKCEOKPJOHJCNHMOBAPIOHMBGNNLGEBJMOPEKKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0008_8.0.8.0/templates/rsWebserviceImp20.conf.j2 b/roles/ams_0008_8.0.8.0/templates/rsWebserviceImp20.conf.j2 deleted file mode 100644 index b6f1f88..0000000 --- a/roles/ams_0008_8.0.8.0/templates/rsWebserviceImp20.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceImp20 -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceImp20_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=7272 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceImp20-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=2048 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=imp20 -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=imp20 -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.core -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.server.imp.rest.IMPRESTServlet -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceImp20.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/webservice/rsWebserviceImp20-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceImp20-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceImp20 - -# Display name of the service -wrapper.displayname=rsWebserviceImp20 - -# Description of the service -wrapper.description=rsWebserviceImp20 - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0008_8.0.8.0/templates/rsWebserviceImp20.xml.j2 b/roles/ams_0008_8.0.8.0/templates/rsWebserviceImp20.xml.j2 deleted file mode 100644 index fc5af27..0000000 --- a/roles/ams_0008_8.0.8.0/templates/rsWebserviceImp20.xml.j2 +++ /dev/null @@ -1,480 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - ILNJNEBDBDLFBDAHBHJKCJGJKCEOKPJOHJCNHMOBAPIOHMBGNNLGEBJMOPEKKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübername aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0008_8.0.8.0/templates/tech.database.yaml.j2 b/roles/ams_0008_8.0.8.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0008_8.0.8.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0/tests/test.yml b/roles/ams_0008_8.0.8.0/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0008_8.0.8.0/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0/vars/main.yml b/roles/ams_0008_8.0.8.0/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0008_8.0.8.0/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0_AdminServer/.travis.yml b/roles/ams_0008_8.0.8.0_AdminServer/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0_AdminServer/README.md b/roles/ams_0008_8.0.8.0_AdminServer/README.md deleted file mode 100644 index b803936..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/README.md +++ /dev/null @@ -1,44 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 mit neuem AdminServer für die Administration. - -Durch den neuen AdminServer wurden auch die psc.sh und startALL/stopALL-Skripte angepasst bzw. neu hinzugefügt. - -Requirements ------------- - -Unterhalb von templates/ und files/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss folgende Role gelaufen sein - -- ams_0008_8.0.8.0 - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0_AdminServer - -License -------- - -BSD - -Author Information ------------------- - -2020327 M. Gillitzer diff --git a/roles/ams_0008_8.0.8.0_AdminServer/defaults/main.yml b/roles/ams_0008_8.0.8.0_AdminServer/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/psc.sh b/roles/ams_0008_8.0.8.0_AdminServer/files/psc.sh deleted file mode 100755 index aba987a..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/psc.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -APPS="DOWN" -else -APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status) -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -APPSADMIN="DOWN" -else -APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status) -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -WEBS="DOWN" -else -WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status) -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.status ] -then -BVS="DOWN" -else -BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.status) -fi -#Anzeige - -printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n" -if [[ $APPS = "STARTED" ]] -then -printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS" -else -printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS" -fi -if [[ $APPSADMIN = "STARTED" ]] -then -printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN" -else -printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN" -fi -if [[ $WEBS = "STARTED" ]] -then -printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS" -else -printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS" -fi -if [[ $BVS = "STARTED" ]] -then -printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS" -else -printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS" -fi diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/startALL b/roles/ams_0008_8.0.8.0_AdminServer/files/startALL deleted file mode 100755 index f7140dc..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/startALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.sh start; -fi -#Check for Appserveradmin -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/startALLwoa b/roles/ams_0008_8.0.8.0_AdminServer/files/startALLwoa deleted file mode 100755 index 3e9d99a..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/startALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.sh start; -fi - -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/startadmin b/roles/ams_0008_8.0.8.0_AdminServer/files/startadmin deleted file mode 100755 index 9ca3a48..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/startadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/startapps b/roles/ams_0008_8.0.8.0_AdminServer/files/startapps deleted file mode 100755 index f0e6a76..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/startapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/stopALL b/roles/ams_0008_8.0.8.0_AdminServer/files/stopALL deleted file mode 100755 index 15ea111..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/stopALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.sh stop; -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin not running!" -else -$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/stopALLwoa b/roles/ams_0008_8.0.8.0_AdminServer/files/stopALLwoa deleted file mode 100755 index faf714d..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/stopALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-8.0.8.0/service/rsAmsBvService.sh stop; -fi - -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/stopadmin b/roles/ams_0008_8.0.8.0_AdminServer/files/stopadmin deleted file mode 100755 index 7e332b4..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/stopadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/files/stopapps b/roles/ams_0008_8.0.8.0_AdminServer/files/stopapps deleted file mode 100755 index 8a24131..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/files/stopapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0008_8.0.8.0_AdminServer/handlers/main.yml b/roles/ams_0008_8.0.8.0_AdminServer/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0_AdminServer/meta/main.yml b/roles/ams_0008_8.0.8.0_AdminServer/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0_AdminServer/tasks/main.yml b/roles/ams_0008_8.0.8.0_AdminServer/tasks/main.yml deleted file mode 100644 index 996a25e..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/tasks/main.yml +++ /dev/null @@ -1,127 +0,0 @@ ---- - - name: copy Folder remote from /sw/AMS/WEB/0008_8.0.8.0_AMS/linux/Appserveradmin/ to /opt/rola/ams/linux/ - become_user: root - become: yes - shell: | - cp -rp /sw/AMS/WEB/0008_8.0.8.0_AMS/linux/Appserveradmin /opt/rola/ams/linux/ - - - name: Create a file /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log if it does not exist - file: - path: /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log - state: touch - mode: '0644' - owner: jetty - group: dba - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: ./templates/pwd_Appserver.xml.j2 - dest: /opt/rola/ams/linux/Appserveradmin/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: ./templates/rsWebserviceAppserver.xml.j2 - dest: /opt/rola/ams/linux/Appserveradmin/config/rsWebserviceAppserver.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to /opt/rola/ams/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf - template: - src: ./templates/rsWebserviceAppserver.conf.j2 - dest: /opt/rola/ams/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserveradmin with owner and permissions - template: - src: ./templates/jetty.xml.j2 - dest: /opt/rola/ams/linux/Appserveradmin/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - name: Copy file psc.sh for Appserveradmin with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - owner: jetty - group: dba - mode: '0755' - - name: Copy file startadmin for Appserveradmin with owner and permissions - copy: - src: ./files/startadmin - dest: /home/jetty/startadmin - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALL for Appserveradmin with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/startALLwoa - dest: /home/jetty/startALLwoa - owner: jetty - group: dba - mode: '0755' - - name: Copy file startapps for Appserveradmin with owner and permissions - copy: - src: ./files/startapps - dest: /home/jetty/startapps - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopadmin for Appserveradmin with owner and permissions - copy: - src: ./files/stopadmin - dest: /home/jetty/stopadmin - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALL for Appserveradmin with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/stopALLwoa - dest: /home/jetty/stopALLwoa - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopapps for Appserveradmin with owner and permissions - copy: - src: ./files/stopapps - dest: /home/jetty/stopapps - owner: jetty - group: dba - mode: '0755' - - name: commit changes to git - shell: | - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0008_8.0.8.0_AdminServer" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - diff --git a/roles/ams_0008_8.0.8.0_AdminServer/templates/jetty.xml.j2 b/roles/ams_0008_8.0.8.0_AdminServer/templates/jetty.xml.j2 deleted file mode 100644 index b986e93..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty_admin-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0008_8.0.8.0_AdminServer/templates/pwd_Appserver.xml.j2 b/roles/ams_0008_8.0.8.0_AdminServer/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 5b85412..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} ADMIN - - diff --git a/roles/ams_0008_8.0.8.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0008_8.0.8.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index a42f70c..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8181 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserveradmin/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0008_8.0.8.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0008_8.0.8.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index dadece7..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - ILNJNEBDBDLFBDAHBHJKCJGJKCEOKPJOHJCNHMOBAPIOHMBGNNLGEBJMOPEKKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ ansible_fqdn }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_0008_8.0.8.0_AdminServer/vars/main.yml b/roles/ams_0008_8.0.8.0_AdminServer/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0008_8.0.8.0_AdminServer/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0013_8.0.9.0/.travis.yml b/roles/ams_0013_8.0.9.0/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0013_8.0.9.0/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0013_8.0.9.0/README.md b/roles/ams_0013_8.0.9.0/README.md deleted file mode 100644 index 1c7e523..0000000 --- a/roles/ams_0013_8.0.9.0/README.md +++ /dev/null @@ -1,65 +0,0 @@ -Role Name -========= - -Installation Patch 0013_8.0.9.0. Ist "nur" Änderung vom BV-Client. Zudem an 2 Dateien Config-Änderung... - -Zudem werden dann aber die psc.sh/start-stop-Skripte erneuert. - -Requirements ------------- - -Die entsprechenden Verzeichnisse unterhalb von /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services müssen -vorhanden sein (rsAMSBVService-8.0.9.0 und SharedComponents-8.0.9.0). - - - -Alle Ordner mit 0755 berechtigen -1. #chmod -R 755 /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services - -Alle Dateien mit 0644 berechtigen -2. #find . -type f | xargs -i chmod 644 {} - -Alle Skripte in 0755 berechtigen -3. #find . -type f -name "*.sh" | xargs -i chmod 0755 {} - -Die Datei-Ordner dem User "Oracle" geben -4. #chown -R oracle:dba /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services - - -Role Variables --------------- - -Keine. - -Dependencies ------------- - -Vorher muss folgende Role gelaufen sein - -- ams_0008_8.0.8.0_AdminServer - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0013_8.0.9.0 - - - -Zu testen ob die Installation geklappt hat, kann die /test/test.yml aufgerufen werden. -Folgender Aufruf: - - ansible-playbook -i development/hosts -u euer_usernamen roles/ams_0013_8.0.9.0/tests/test.yml - -License -------- - -BSD - -Author Information ------------------- - -M. Gillitzer, 20200330 diff --git a/roles/ams_0013_8.0.9.0/defaults/main.yml b/roles/ams_0013_8.0.9.0/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0013_8.0.9.0/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0013_8.0.9.0/files/message-code.mapping b/roles/ams_0013_8.0.9.0/files/message-code.mapping deleted file mode 100644 index 580580e..0000000 --- a/roles/ams_0013_8.0.9.0/files/message-code.mapping +++ /dev/null @@ -1,23 +0,0 @@ -com.rola.rscase.specific.hidden.export.plausi.piavz.EPiavPlausiErrorCodes.A_R_CU_3;PRS-MULTI_CAT_DOUBLETTE;TERMINATE;In katalogisierten Mehrinhaltsfeldern ist jeder Katalogwert nur einmal zulässig. Ausgenommen hiervon ist der Katalog Code 252 des Attributs 'Titel' von Personalien. -com.rola.rscase.mapping.MappingErrorCode.ENTITY_NOT_MAPPED;PRS-100;INFO;Entität wird nicht abgebildet. -com.rola.rscase.mapping.MappingErrorCode.VALUE_TOO_LONG;PRS-VALUE_TOO_LONG;INFO;Die Zeichenlänge wird gegen die Zeichenlänge im AMS geprüft. Wird die AMS-Zeichenlänge überschritten, so wird diese je nach Konfiguration mit/oder ohne Warnung abgeschnitten oder führt zu einer Ablehnung der Entität. -com.rola.rscase.mapping.MappingErrorCode.LEADING_WHITESPACE;PRS-LEADING_WHITESPACE;INFO;Textfelder dürfen keine führenden oder nachfolgenden Leerzeichen enthalten. -com.rola.rscase.mapping.MappingErrorCode.RELATION_NOT_MAPPED;PRS-RELATION_NOT_MAPPED;TERMINATE;Zulässige Beziehungen, Rollen, Richtungen und Randobjekte werden entsprechend den IMP-Vorgaben geprüft. -com.rola.rscase.mapping.MappingErrorCode.ID_CONTAINER_MISMATCH;PRS-MISSING_CONTEXT;TERMINATE;Jede XML-Struktur muss genau einen Vorgang enthalten. -com.rola.server.imp.core.IMPErrorCode.MISSING_INCIDENT_RELATION;PRS-MISSING_CONTEXT_ASSIGNMENT;TERMINATE;Alle Fachobjekte (Nicht-Vorgänge) innerhalb der übertragenen XML-Strukturen sind über eine Vorgangsbeziehung mit dem Vorgang verknüpft. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.NOT_SUPPORTED_DELETION;PRS-NOT_SUPPORTED_DELETION;INFO;AMS-159: Löschung wird ignoriert. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.NOT_SUPPORTED_ENTITY_UPDATE;PRS-NOT_SUPPORTED_ENTITY_UPDATE;INFO;Update der nicht Update-fähigen Entität '{0}' -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.NOT_SUPPORTED_RELATION_UPDATE;PRS-NOT_SUPPORTED_RELATION_UPDATE;INFO;Update der nicht Update-fähigen Beziehung '{0}' -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.NOT_SUPPORTED_TRANSACTION_TYPE;PRS-NOT_SUPPORTED_TRANSACTION_TYPE;INFO;Der Transaktionstyp '{0}' wird nicht unterstützt. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.VORGANG_NOT_SET;PRS-VORGANG_NOT_SET;TERMINATE;Vorgang wurde nicht mit angeliefert. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.VORGANGSNUMMER_NOT_SET;PRS-VORGANGSNUMMER_NOT_SET;TERMINATE;Vorgangsnummer ist nicht im Vorgang gesetzt. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.VORGANGSKENNUNG_NOT_SET;PRS-VORGANGSKENNUNG_NOT_SET;TERMINATE;Vorgangskennung ist nicht im Vorgang gesetzt. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.VORGANGS_DIENSTSTELLENSCHLUESSEL_NOT_SET;PRS-VORGANGS_DIENSTSTELLENSCHLUESSEL_NOT_SET;TERMINATE;Dienststellenschluessel ist nicht im Vorgang gesetzt. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.MANDATORY_VALUE_MISSING;PRS-MANDATORY_VALUE_MISSING;TERMINATE;Pflichtfeld Wert für xpath-Ausdruck '{0}' konnte nicht gefunden werden. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.TOO_MANY_VALUES;PRS-TOO_MANY_VALUES;TERMINATE;Zu viele Werte für xpath-Ausdruck '{0}' gefunden. Erwartete Ergebnismenge '{1}' war '{2}'. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.USER_CONTENT_MISSING;PRS-USER_CONTENT_MISSING;TERMINATE;Attribut 'benutzerInhalt' im Vorgang nicht gesetzt oder ohne Inhalt. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.NOT_SUPPORTED_KIND_OF_PERSON;PRS-NOT_SUPPORTED_KIND_OF_PERSON;INFO;Nur rechtmäßige Personalien werden importiert. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.AKTENZEICHEN_IS_MISSING;PRS-AKTENZEICHEN_IS_MISSING;TERMINATE;Im Vorgang wurde kein Aktenzeichen angeliefert. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.NON_MAPPED_ENTITY;PRS-NON_MAPPED_ENTITY;INFO;Nicht unterstützte Entität: '{0}' -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.DUPLICATE_CONTEXT_ASSIGNMENT;PRS-DUPLICATE_CONTEXT_ASSIGNMENT;TERMINATE;Entität ist bereits einem Vorgang zugeordnet. -com.rola.rsframe.module.asservatentool.ams.interfaces.imp.comvor.EComVorErrorCode.VALIDATION_ERROR;PRS-VALIDATION_ERROR;TERMINATE;Fehler bei der Validierung der Entität. diff --git a/roles/ams_0013_8.0.9.0/files/psc.sh b/roles/ams_0013_8.0.9.0/files/psc.sh deleted file mode 100755 index 0d9728e..0000000 --- a/roles/ams_0013_8.0.9.0/files/psc.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -APPS="DOWN" -else -APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status) -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -APPSADMIN="DOWN" -else -APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status) -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -WEBS="DOWN" -else -WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status) -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ] -then -BVS="DOWN" -else -BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status) -fi -#Anzeige - -printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n" -if [[ $APPS = "STARTED" ]] -then -printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS" -else -printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS" -fi -if [[ $APPSADMIN = "STARTED" ]] -then -printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN" -else -printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN" -fi -if [[ $WEBS = "STARTED" ]] -then -printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS" -else -printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS" -fi -if [[ $BVS = "STARTED" ]] -then -printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS" -else -printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS" -fi diff --git a/roles/ams_0013_8.0.9.0/files/startALL b/roles/ams_0013_8.0.9.0/files/startALL deleted file mode 100755 index f60e653..0000000 --- a/roles/ams_0013_8.0.9.0/files/startALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh start; -fi -#Check for Appserveradmin -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/files/startALLwoa b/roles/ams_0013_8.0.9.0/files/startALLwoa deleted file mode 100755 index 4e15464..0000000 --- a/roles/ams_0013_8.0.9.0/files/startALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh start; -fi - -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/files/startadmin b/roles/ams_0013_8.0.9.0/files/startadmin deleted file mode 100755 index 9ca3a48..0000000 --- a/roles/ams_0013_8.0.9.0/files/startadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/files/startapps b/roles/ams_0013_8.0.9.0/files/startapps deleted file mode 100755 index f0e6a76..0000000 --- a/roles/ams_0013_8.0.9.0/files/startapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/files/stopALL b/roles/ams_0013_8.0.9.0/files/stopALL deleted file mode 100755 index 095fa1f..0000000 --- a/roles/ams_0013_8.0.9.0/files/stopALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh stop; -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin not running!" -else -$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/files/stopALLwoa b/roles/ams_0013_8.0.9.0/files/stopALLwoa deleted file mode 100755 index cc8a234..0000000 --- a/roles/ams_0013_8.0.9.0/files/stopALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-8.0.9.0/service/rsAmsBvService.sh stop; -fi - -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/files/stopadmin b/roles/ams_0013_8.0.9.0/files/stopadmin deleted file mode 100755 index 7e332b4..0000000 --- a/roles/ams_0013_8.0.9.0/files/stopadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/files/stopapps b/roles/ams_0013_8.0.9.0/files/stopapps deleted file mode 100755 index 8a24131..0000000 --- a/roles/ams_0013_8.0.9.0/files/stopapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0013_8.0.9.0/handlers/main.yml b/roles/ams_0013_8.0.9.0/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0013_8.0.9.0/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0013_8.0.9.0/tasks/main.yml b/roles/ams_0013_8.0.9.0/tasks/main.yml deleted file mode 100644 index 2a28728..0000000 --- a/roles/ams_0013_8.0.9.0/tasks/main.yml +++ /dev/null @@ -1,185 +0,0 @@ - ---- - - name: Remove a directory /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0 if it does exist - file: - path: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.8.0 - state: absent - notify: - - stopALL - - startALL - - name: Remove a directory /opt/rola/ams/linux/webclient-services/SharedComponents-8.0.8.0/ if it does exist - file: - path: /opt/rola/ams/linux/webclient-services/SharedComponents-8.0.8.0/ - state: absent - notify: - - stopALL - - startALL - - name: synchronize Folder remote from /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/rsAmsBvService-8.0.9.0 to /opt/rola/ams/linux/webclient-services - synchronize: - src: /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/rsAmsBvService-8.0.9.0 - dest: /opt/rola/ams/linux/webclient-services/ - delegate_to: "{{ ansible_facts['default_ipv4']['address'] }}" - - name: synchronize Folder remote from /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/SharedComponents-8.0.9.0 to /opt/rola/ams/linux/webclient-services - synchronize: - src: /sw/AMS/WEB/Lieferung_0013_8.0.9.0_AMS_BBTA1_HF2_BV-Schnittstelle/linux/webclient-services/SharedComponents-8.0.9.0 - dest: /opt/rola/ams/linux/webclient-services/ - delegate_to: "{{ ansible_facts['default_ipv4']['address'] }}" - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: ./templates/rsAmsBvService.conf.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/service/config/rsAmsBvService.conf - owner: jetty - group: dba - mode: '0644' - notify: - - stopALL - - startALL - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: ./templates/tech.database.yaml.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/frameworkconfig/prefs/tech.database.yaml - owner: jetty - group: dba - mode: '0644' - notify: - - stopALL - - startALL - - name: Copy file psc.sh with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file startadmin with owner and permissions - copy: - src: ./files/startadmin - dest: /home/jetty/startadmin - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALL with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALLwoa with owner and permissions - copy: - src: ./files/startALLwoa - dest: /home/jetty/startALLwoa - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file startapps with owner and permissions - copy: - src: ./files/startapps - dest: /home/jetty/startapps - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopadmin with owner and permissions - copy: - src: ./files/stopadmin - dest: /home/jetty/stopadmin - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALL with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALLwoa with owner and permissions - copy: - src: ./files/stopALLwoa - dest: /home/jetty/stopALLwoa - force: yes - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopapps with owner and permissions - copy: - src: ./files/stopapps - dest: /home/jetty/stopapps - force: yes - owner: jetty - group: dba - mode: '0755' - ##nachfolgendes behebt einen fehler in der Schnittstelle - ##siehe email frank hellwich vom 30.07.2020, 15.16 Uhr - ##soll vorerst drin bleiben - - name: Copy file message-code.mapping - copy: - src: message-code.mapping - dest: /opt/rola/ams/linux/Services/config/module/imp20/vbs/message-code.mapping - force: yes - owner: jetty - group: dba - mode: '0644' - - name: commit changes to git - shell: | - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x64/linux/jre/lib/desktop/mime/packages/x-java-archive.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x64/linux/jre/lib/desktop/mime/packages/x-java-jnlp-file.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x86/linux/jre/lib/desktop/mime/packages/x-java-archive.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/java/x86/linux/jre/lib/desktop/mime/packages/x-java-jnlp-file.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/META-INF/persistence.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/BackendTransformer.meta.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/BackendTransformer_DEV.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Importer.meta.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Importer_DEV.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesErrorCodes.meta.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesErrorCodes_DEV.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesLogCodes.meta.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/ServicesLogCodes_DEV.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Transformer.meta.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/Transformer_DEV.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/UserServiceErrorCodes.meta.xml - git rm ams/linux/webclient-services/SharedComponents-8.0.8.0/rsFrame2/plugins/rola/com.rola.radium.webmodule.amsbv/resourcegroups/labels/UserServiceErrorCodes_DEV.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/boot/boot.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-dev.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-extensions.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-hpov-appender.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-json-appender.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-level-custom.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-level-defaults.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-mappings-codebased.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback-mappings-rulebased.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/frameworkconfig/logging/logback.xml - git rm ams/linux/webclient-services/rsAmsBvService-8.0.8.0/service/config/rsAmsBvService.conf - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0013_8.0.9.0" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0013_8.0.9.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0013_8.0.9.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index a53de82..0000000 --- a/roles/ams_0013_8.0.9.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0013_8.0.9.0/templates/tech.database.yaml.j2 b/roles/ams_0013_8.0.9.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0013_8.0.9.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0013_8.0.9.0/tests/test.retry b/roles/ams_0013_8.0.9.0/tests/test.retry deleted file mode 100644 index 9f08615..0000000 --- a/roles/ams_0013_8.0.9.0/tests/test.retry +++ /dev/null @@ -1,2 +0,0 @@ -80.155.207.111 -80.155.207.161 diff --git a/roles/ams_0013_8.0.9.0/tests/test.yml b/roles/ams_0013_8.0.9.0/tests/test.yml deleted file mode 100644 index e9ecdfb..0000000 --- a/roles/ams_0013_8.0.9.0/tests/test.yml +++ /dev/null @@ -1,24 +0,0 @@ ---- - - name: test site - hosts: all - ignore_errors: true - become: yes - - tasks: - - name: check website AppServer - uri: - url: "http://{{ ansible_facts['default_ipv4']['address'] }}:8080/appserver/dispatcher/hello" - - - name: check website AppServerAdmin - uri: - url: "http://{{ ansible_facts['default_ipv4']['address'] }}:8181/appserver/dispatcher/hello" - - - name: check website CV-SNIT - uri: - url: "http://{{ ansible_facts['default_ipv4']['address'] }}:7272/imp20/htmlclient" - status_code: 403 - - - name: check website BV-SNIT - uri: - url: "http://{{ ansible_facts['default_ipv4']['address'] }}:7373/bv/ws" - status_code: 405 diff --git a/roles/ams_0013_8.0.9.0/vars/main.yml b/roles/ams_0013_8.0.9.0/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0013_8.0.9.0/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0/.travis.yml b/roles/ams_0014_14.0.2.0/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0014_14.0.2.0/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0/README.md b/roles/ams_0014_14.0.2.0/README.md deleted file mode 100644 index 5a1b989..0000000 --- a/roles/ams_0014_14.0.2.0/README.md +++ /dev/null @@ -1,46 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 - -Requirements ------------- - -Unterhalb von templates/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss die Role - - - base_installation - -gelaufen sein. - - - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0 - -License -------- - -BSD - -Author Information ------------------- - -20200107 M. Gillitzer diff --git a/roles/ams_0014_14.0.2.0/defaults/main.yml b/roles/ams_0014_14.0.2.0/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0014_14.0.2.0/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0/files/common.xml b/roles/ams_0014_14.0.2.0/files/common.xml deleted file mode 100644 index a425d4e..0000000 --- a/roles/ams_0014_14.0.2.0/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - diff --git a/roles/ams_0014_14.0.2.0/handlers/main.yml b/roles/ams_0014_14.0.2.0/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0014_14.0.2.0/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0/meta/main.yml b/roles/ams_0014_14.0.2.0/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0014_14.0.2.0/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0/tasks/main.yml b/roles/ams_0014_14.0.2.0/tasks/main.yml deleted file mode 100644 index 5fa35b1..0000000 --- a/roles/ams_0014_14.0.2.0/tasks/main.yml +++ /dev/null @@ -1,188 +0,0 @@ ---- -##ams - - name: create folder /opt/rola/ams - file: - path: /opt/rola/ams - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder /opt/rola/ams/linux - file: - path: /opt/rola/ams/linux - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder /opt/rola/ams/linux/Appserver - file: - path: /opt/rola/ams/linux/Appserver - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder /opt/rola/ams/linux/Services - file: - path: /opt/rola/ams/linux/Services - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/Appserver.tar.gz - dest: /opt/rola/ams/linux/Appserver/ - remote_src: yes - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/Services.tar.gz - unarchive: - src: /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/Services.tar.gz - dest: /opt/rola/ams/linux/Services/ - remote_src: yes - owner: jetty - group: dba - - - name: create folder webclient-services - file: - path: /opt/rola/ams/linux/webclient-services - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: tar datei rsAmsBvService-14.0.2.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/webclient-services/rsAmsBvService-14.0.2.0.tar.gz - dest: /opt/rola/ams/linux/webclient-services/ - remote_src: yes - owner: jetty - group: dba - - - name: tar datei SharedComponents-14.0.2.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/webclient-services/SharedComponents-14.0.2.0.tar.gz - dest: /opt/rola/ams/linux/webclient-services/ - remote_src: yes - owner: jetty - group: dba - - - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: /opt/rola/ams/linux/Appserver/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: /opt/rola/ams/linux/Appserver/config/rsWebserviceAppserver.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to /opt/rola/ams/linux/Appserver/service/config/rsWebserviceAppserver.conf - template: - src: rsWebserviceAppserver.conf.j2 - dest: /opt/rola/ams/linux/Appserver/service/config/rsWebserviceAppserver.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file pwd_ServiceIMP.xml.j2 with owner and permissions - template: - src: pwd_ServiceIMP.xml.j2 - dest: /opt/rola/ams/linux/Services/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Copy file rsWebserviceImp20.xml.j2 with owner and permissions - template: - src: rsWebserviceImp20.xml.j2 - dest: /opt/rola/ams/linux/Services/config/rsWebserviceImp20.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceImp20.conf.j2 with owner and permissions - template: - src: rsWebserviceImp20.conf.j2 - dest: /opt/rola/ams/linux/Services/service/config/rsWebserviceImp20.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: rsAmsBvService.conf.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.0.2.0/service/config/rsAmsBvService.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: tech.database.yaml.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.0.2.0/frameworkconfig/prefs/tech.database.yaml - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserver with owner and permissions - template: - src: jetty.xml.j2 - dest: /opt/rola/ams/linux/Appserver/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Services with owner and permissions - template: - src: jetty.xml.j2 - dest: /opt/rola/ams/linux/Services/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to /opt/rola/ams/linux/Appserver/config - copy: - src: common.xml - dest: /opt/rola/ams/linux/Appserver/config/common.xml - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to /opt/rola/ams/linux/Services/config - copy: - src: common.xml - dest: /opt/rola/ams/linux/Services/config/common.xml - owner: jetty - group: dba - mode: '0644' - - - name: commit changes to git - shell: | - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0014_14.0.2.0" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0014_14.0.2.0/templates/jetty.xml.j2 b/roles/ams_0014_14.0.2.0/templates/jetty.xml.j2 deleted file mode 100644 index 00e98dd..0000000 --- a/roles/ams_0014_14.0.2.0/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0014_14.0.2.0/templates/pwd_Appserver.xml.j2 b/roles/ams_0014_14.0.2.0/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 1e5a6d6..0000000 --- a/roles/ams_0014_14.0.2.0/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0014_14.0.2.0/templates/pwd_ServiceIMP.xml.j2 b/roles/ams_0014_14.0.2.0/templates/pwd_ServiceIMP.xml.j2 deleted file mode 100644 index 1e5a6d6..0000000 --- a/roles/ams_0014_14.0.2.0/templates/pwd_ServiceIMP.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0014_14.0.2.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0014_14.0.2.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index a53de82..0000000 --- a/roles/ams_0014_14.0.2.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0014_14.0.2.0/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0014_14.0.2.0/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index a9297f8..0000000 --- a/roles/ams_0014_14.0.2.0/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8080 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserver/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0014_14.0.2.0/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0014_14.0.2.0/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 086e14b..0000000 --- a/roles/ams_0014_14.0.2.0/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ ansible_fqdn }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0014_14.0.2.0/templates/rsWebserviceImp20.conf.j2 b/roles/ams_0014_14.0.2.0/templates/rsWebserviceImp20.conf.j2 deleted file mode 100644 index b6f1f88..0000000 --- a/roles/ams_0014_14.0.2.0/templates/rsWebserviceImp20.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceImp20 -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceImp20_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=7272 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceImp20-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=2048 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=imp20 -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=imp20 -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.core -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.server.imp.rest.IMPRESTServlet -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceImp20.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/webservice/rsWebserviceImp20-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceImp20-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceImp20 - -# Display name of the service -wrapper.displayname=rsWebserviceImp20 - -# Description of the service -wrapper.description=rsWebserviceImp20 - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0014_14.0.2.0/templates/rsWebserviceImp20.xml.j2 b/roles/ams_0014_14.0.2.0/templates/rsWebserviceImp20.xml.j2 deleted file mode 100644 index 10d0fbc..0000000 --- a/roles/ams_0014_14.0.2.0/templates/rsWebserviceImp20.xml.j2 +++ /dev/null @@ -1,486 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - ILNJNEBDBDLFBDAHBHJKCJGJKCEOKPJOHJCNHMOBAPIOHMBGNNLGEBJMOPEKKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - LOGIN-VERBOSE - CONNECTION - INTERFACE-COMMUNICATION - IMP-INTERFACE - XML-MAPPING - XML-OUTPUT - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübername aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0014_14.0.2.0/templates/tech.database.yaml.j2 b/roles/ams_0014_14.0.2.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0014_14.0.2.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0/tests/inventory b/roles/ams_0014_14.0.2.0/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0014_14.0.2.0/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0014_14.0.2.0/vars/main.yml b/roles/ams_0014_14.0.2.0/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0014_14.0.2.0/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0_AdminServer/.travis.yml b/roles/ams_0014_14.0.2.0_AdminServer/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0_AdminServer/README.md b/roles/ams_0014_14.0.2.0_AdminServer/README.md deleted file mode 100644 index b803936..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/README.md +++ /dev/null @@ -1,44 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 mit neuem AdminServer für die Administration. - -Durch den neuen AdminServer wurden auch die psc.sh und startALL/stopALL-Skripte angepasst bzw. neu hinzugefügt. - -Requirements ------------- - -Unterhalb von templates/ und files/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss folgende Role gelaufen sein - -- ams_0008_8.0.8.0 - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0_AdminServer - -License -------- - -BSD - -Author Information ------------------- - -2020327 M. Gillitzer diff --git a/roles/ams_0014_14.0.2.0_AdminServer/defaults/main.yml b/roles/ams_0014_14.0.2.0_AdminServer/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/common.xml b/roles/ams_0014_14.0.2.0_AdminServer/files/common.xml deleted file mode 100644 index a425d4e..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/psc.sh b/roles/ams_0014_14.0.2.0_AdminServer/files/psc.sh deleted file mode 100755 index 2f77fde..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/psc.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -APPS="DOWN" -else -APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status) -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -APPSADMIN="DOWN" -else -APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status) -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -WEBS="DOWN" -else -WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status) -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.status ] -then -BVS="DOWN" -else -BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.status) -fi -#Anzeige - -printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n" -if [[ $APPS = "STARTED" ]] -then -printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS" -else -printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS" -fi -if [[ $APPSADMIN = "STARTED" ]] -then -printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN" -else -printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN" -fi -if [[ $WEBS = "STARTED" ]] -then -printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS" -else -printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS" -fi -if [[ $BVS = "STARTED" ]] -then -printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS" -else -printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS" -fi diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/startALL b/roles/ams_0014_14.0.2.0_AdminServer/files/startALL deleted file mode 100755 index 1406805..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/startALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.sh start; -fi -#Check for Appserveradmin -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/startALLwoa b/roles/ams_0014_14.0.2.0_AdminServer/files/startALLwoa deleted file mode 100755 index 5816494..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/startALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.sh start; -fi - -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/startadmin b/roles/ams_0014_14.0.2.0_AdminServer/files/startadmin deleted file mode 100755 index 9ca3a48..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/startadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/startapps b/roles/ams_0014_14.0.2.0_AdminServer/files/startapps deleted file mode 100755 index f0e6a76..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/startapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/stopALL b/roles/ams_0014_14.0.2.0_AdminServer/files/stopALL deleted file mode 100755 index 2fd73c3..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/stopALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.sh stop; -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin not running!" -else -$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/stopALLwoa b/roles/ams_0014_14.0.2.0_AdminServer/files/stopALLwoa deleted file mode 100755 index 83c2833..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/stopALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.0.2.0/service/rsAmsBvService.sh stop; -fi - -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/stopadmin b/roles/ams_0014_14.0.2.0_AdminServer/files/stopadmin deleted file mode 100755 index 7e332b4..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/stopadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/files/stopapps b/roles/ams_0014_14.0.2.0_AdminServer/files/stopapps deleted file mode 100755 index 8a24131..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/files/stopapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0014_14.0.2.0_AdminServer/handlers/main.yml b/roles/ams_0014_14.0.2.0_AdminServer/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0_AdminServer/meta/main.yml b/roles/ams_0014_14.0.2.0_AdminServer/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0_AdminServer/tasks/main.yml b/roles/ams_0014_14.0.2.0_AdminServer/tasks/main.yml deleted file mode 100644 index 5a1af6c..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/tasks/main.yml +++ /dev/null @@ -1,146 +0,0 @@ ---- - - name: create folder /opt/rola/ams/linux/Appserveradmin - file: - path: /opt/rola/ams/linux/Appserveradmin - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0014_14.0.2.0_AMS_BW_1_5/linux/Appserver.tar.gz - dest: /opt/rola/ams/linux/Appserveradmin/ - remote_src: yes - owner: jetty - group: dba - - - name: copy common.xml to /opt/rola/ams/linux/Appserveradmin/config - copy: - src: common.xml - dest: /opt/rola/ams/linux/Appserveradmin/config/common.xml - owner: jetty - group: dba - mode: '0644' - - - - name: Create a file /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log if it does not exist - file: - path: /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log - state: touch - mode: '0644' - owner: jetty - group: dba - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: /opt/rola/ams/linux/Appserveradmin/config/pwd.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: /opt/rola/ams/linux/Appserveradmin/config/rsWebserviceAppserver.xml - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to /opt/rola/ams/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf - template: - src: rsWebserviceAppserver.conf.j2 - dest: /opt/rola/ams/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserveradmin with owner and permissions - template: - src: jetty.xml.j2 - dest: /opt/rola/ams/linux/Appserveradmin/frameworkconfig/jetty_home/etc/jetty.xml - owner: jetty - group: dba - mode: '0644' - - name: Copy file psc.sh for Appserveradmin with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - owner: jetty - group: dba - mode: '0755' - - name: Copy file startadmin for Appserveradmin with owner and permissions - copy: - src: ./files/startadmin - dest: /home/jetty/startadmin - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALL for Appserveradmin with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/startALLwoa - dest: /home/jetty/startALLwoa - owner: jetty - group: dba - mode: '0755' - - name: Copy file startapps for Appserveradmin with owner and permissions - copy: - src: ./files/startapps - dest: /home/jetty/startapps - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopadmin for Appserveradmin with owner and permissions - copy: - src: ./files/stopadmin - dest: /home/jetty/stopadmin - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALL for Appserveradmin with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/stopALLwoa - dest: /home/jetty/stopALLwoa - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopapps for Appserveradmin with owner and permissions - copy: - src: ./files/stopapps - dest: /home/jetty/stopapps - owner: jetty - group: dba - mode: '0755' - - name: commit changes to git - shell: | - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0014_14.0.2.0_AdminServer" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - diff --git a/roles/ams_0014_14.0.2.0_AdminServer/templates/jetty.xml.j2 b/roles/ams_0014_14.0.2.0_AdminServer/templates/jetty.xml.j2 deleted file mode 100644 index b986e93..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty_admin-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0014_14.0.2.0_AdminServer/templates/pwd_Appserver.xml.j2 b/roles/ams_0014_14.0.2.0_AdminServer/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 5b85412..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} ADMIN - - diff --git a/roles/ams_0014_14.0.2.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0014_14.0.2.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index a42f70c..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8181 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserveradmin/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0014_14.0.2.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0014_14.0.2.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index e82c88d..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - JJOMDNOKOJOEOGMBPPDBIIHEPIJLCDLNFENMDECHHGALJKJDLBJBKAJEBDBLKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ ansible_fqdn }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_0014_14.0.2.0_AdminServer/tests/inventory b/roles/ams_0014_14.0.2.0_AdminServer/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0014_14.0.2.0_AdminServer/tests/test.yml b/roles/ams_0014_14.0.2.0_AdminServer/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0014_14.0.2.0_AdminServer/vars/main.yml b/roles/ams_0014_14.0.2.0_AdminServer/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0014_14.0.2.0_AdminServer/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/.travis.yml b/roles/ams_0015_8.0.9.0_hotfix/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/defaults/main.yml b/roles/ams_0015_8.0.9.0_hotfix/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/handlers/main.yml b/roles/ams_0015_8.0.9.0_hotfix/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/meta/main.yml b/roles/ams_0015_8.0.9.0_hotfix/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/tasks/main.yml b/roles/ams_0015_8.0.9.0_hotfix/tasks/main.yml deleted file mode 100644 index 4955c29..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/tasks/main.yml +++ /dev/null @@ -1,62 +0,0 @@ ---- -##ams - - - name: Ordner tmp anlegen - file: - path: /home/jetty/tmp - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: alten Verzeichnis rsAmsBvService-8.0.9.0 entfernen - file: - path: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0 - state: absent - - - name: altes Verzeichnis SharedComponents-8.0.9.0 entfernen - file: - path: /opt/rola/ams/linux/webclient-services/SharedComponents-8.0.9.0 - state: absent - - - - name: tar datei rsAmsBvService-8.0.9.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/Lieferung_0015_8.0.9.0_AMS_BBTA1_HF3_BV/0825120236_RS-95464_0015_8.0.9.0_AMS_BBTA1_HF3_BV/linux/webclient-services/rsAmsBvService-8.0.9.0.tar.gz - dest: /opt/rola/ams/linux/webclient-services/ - remote_src: yes - owner: jetty - group: dba - - - name: tar datei SharedComponents-8.0.9.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/Lieferung_0015_8.0.9.0_AMS_BBTA1_HF3_BV/0825120236_RS-95464_0015_8.0.9.0_AMS_BBTA1_HF3_BV/linux/webclient-services/SharedComponents-8.0.9.0.tar.gz - dest: /opt/rola/ams/linux/webclient-services/ - remote_src: yes - owner: jetty - group: dba - - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: rsAmsBvService.conf.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/service/config/rsAmsBvService.conf - owner: jetty - group: dba - mode: '0644' - #notify: - #- stopALL - #- startALL - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: tech.database.yaml.j2 - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-8.0.9.0/frameworkconfig/prefs/tech.database.yaml - owner: jetty - group: dba - mode: '0644' - #notify: - #- stopALL - #- startALL - - - - diff --git a/roles/ams_0015_8.0.9.0_hotfix/templates/rsAmsBvService.conf.j2 b/roles/ams_0015_8.0.9.0_hotfix/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index a53de82..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0015_8.0.9.0_hotfix/templates/tech.database.yaml.j2 b/roles/ams_0015_8.0.9.0_hotfix/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/tests/inventory b/roles/ams_0015_8.0.9.0_hotfix/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0015_8.0.9.0_hotfix/tests/test.yml b/roles/ams_0015_8.0.9.0_hotfix/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/vars/main.yml b/roles/ams_0015_8.0.9.0_hotfix/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0015_8.0.9.0_hotfix/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/.travis.yml b/roles/ams_0016_14.1.2.0/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0016_14.1.2.0/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/defaults/main.yml b/roles/ams_0016_14.1.2.0/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0016_14.1.2.0/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/dokumentation/Betriebshandbuch.pdf b/roles/ams_0016_14.1.2.0/dokumentation/Betriebshandbuch.pdf deleted file mode 100644 index f7c693f..0000000 Binary files a/roles/ams_0016_14.1.2.0/dokumentation/Betriebshandbuch.pdf and /dev/null differ diff --git a/roles/ams_0016_14.1.2.0/dokumentation/Releasedokumentation_0016.pdf b/roles/ams_0016_14.1.2.0/dokumentation/Releasedokumentation_0016.pdf deleted file mode 100644 index 53db0b6..0000000 Binary files a/roles/ams_0016_14.1.2.0/dokumentation/Releasedokumentation_0016.pdf and /dev/null differ diff --git a/roles/ams_0016_14.1.2.0/files/common.xml b/roles/ams_0016_14.1.2.0/files/common.xml deleted file mode 100644 index a425d4e..0000000 --- a/roles/ams_0016_14.1.2.0/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - diff --git a/roles/ams_0016_14.1.2.0/handlers/main.yml b/roles/ams_0016_14.1.2.0/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0016_14.1.2.0/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/meta/main.yml b/roles/ams_0016_14.1.2.0/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0016_14.1.2.0/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/tasks/main.yml b/roles/ams_0016_14.1.2.0/tasks/main.yml deleted file mode 100644 index 93c20c0..0000000 --- a/roles/ams_0016_14.1.2.0/tasks/main.yml +++ /dev/null @@ -1,193 +0,0 @@ ---- -#ams - - name: create folder "{{ base_dir }}" - file: - path: "{{ base_dir }}" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux" - file: - path: "{{ base_dir }}/linux" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Appserver" - file: - path: "{{ base_dir }}/linux/Appserver" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Services" - file: - path: "{{ base_dir }}/linux/Services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserver/" - remote_src: yes - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/Services.tar.gz - unarchive: - src: /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/Services.tar.gz - dest: "{{ base_dir }}/linux/Services/" - remote_src: yes - owner: jetty - group: dba - - - name: create folder webclient-services - file: - path: "{{ base_dir }}/linux/webclient-services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: tar datei rsAmsBvService-14.1.2.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/webclient-services/rsAmsBvService-14.1.2.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - name: tar datei SharedComponents-14.1.2.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/webclient-services/SharedComponents-14.1.2.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file pwd_ServiceIMP.xml.j2 with owner and permissions - template: - src: pwd_ServiceIMP.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Copy file rsWebserviceImp20.xml.j2 with owner and permissions - template: - src: rsWebserviceImp20.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/rsWebserviceImp20.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceImp20.conf.j2 with owner and permissions - template: - src: rsWebserviceImp20.conf.j2 - dest: "{{ base_dir }}/linux/Services/service/config/rsWebserviceImp20.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: rsAmsBvService.conf.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.2.0/service/config/rsAmsBvService.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: tech.database.yaml.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.2.0/frameworkconfig/prefs/tech.database.yaml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserver with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Services with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Services/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Appserver/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserver/config/common.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Services/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Services/config/common.xml" - owner: jetty - group: dba - mode: '0644' - -# wleche jdk-version muss genutzt werden? -# openjdk alt entfernen und dann neues tar-installieren? - - - - #- name: commit changes to git - #shell: | - #git add . - #git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0016_14.1.2.0" - #exit 0 - #args: - #chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0016_14.1.2.0/templates/jetty.xml.j2 b/roles/ams_0016_14.1.2.0/templates/jetty.xml.j2 deleted file mode 100644 index 00e98dd..0000000 --- a/roles/ams_0016_14.1.2.0/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0016_14.1.2.0/templates/pwd_Appserver.xml.j2 b/roles/ams_0016_14.1.2.0/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 1e5a6d6..0000000 --- a/roles/ams_0016_14.1.2.0/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0016_14.1.2.0/templates/pwd_ServiceIMP.xml.j2 b/roles/ams_0016_14.1.2.0/templates/pwd_ServiceIMP.xml.j2 deleted file mode 100644 index 1e5a6d6..0000000 --- a/roles/ams_0016_14.1.2.0/templates/pwd_ServiceIMP.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0016_14.1.2.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0016_14.1.2.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index eafa617..0000000 --- a/roles/ams_0016_14.1.2.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/bvservice/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0016_14.1.2.0/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0016_14.1.2.0/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index 7b6a1a8..0000000 --- a/roles/ams_0016_14.1.2.0/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,288 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/appserver/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE -wrapper.java.additional.100=-Dsun.security.krb5.debug=true - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8080 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="/opt/logs/appserver/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=DEBUG - -# Log file to use for wrapper output logging. -wrapper.logfile="/opt/logs/appserver/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0016_14.1.2.0/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0016_14.1.2.0/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index c6abc65..0000000 --- a/roles/ams_0016_14.1.2.0/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ sso_principal_name }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0016_14.1.2.0/templates/rsWebserviceImp20.conf.j2 b/roles/ams_0016_14.1.2.0/templates/rsWebserviceImp20.conf.j2 deleted file mode 100644 index b6f1f88..0000000 --- a/roles/ams_0016_14.1.2.0/templates/rsWebserviceImp20.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceImp20 -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceImp20_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=7272 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceImp20-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=2048 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=imp20 -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=imp20 -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.core -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.server.imp.rest.IMPRESTServlet -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceImp20.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/webservice/rsWebserviceImp20-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceImp20-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceImp20 - -# Display name of the service -wrapper.displayname=rsWebserviceImp20 - -# Description of the service -wrapper.description=rsWebserviceImp20 - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0016_14.1.2.0/templates/rsWebserviceImp20.xml.j2 b/roles/ams_0016_14.1.2.0/templates/rsWebserviceImp20.xml.j2 deleted file mode 100644 index 9daec11..0000000 --- a/roles/ams_0016_14.1.2.0/templates/rsWebserviceImp20.xml.j2 +++ /dev/null @@ -1,486 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - JILIHFCANEDGBCLKCHILFLEPPFOBHGOADDJOBPAECCAHCIENCCECHJIAHIDFKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - LOGIN-VERBOSE - CONNECTION - INTERFACE-COMMUNICATION - IMP-INTERFACE - XML-MAPPING - XML-OUTPUT - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübername aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0016_14.1.2.0/templates/tech.database.yaml.j2 b/roles/ams_0016_14.1.2.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0016_14.1.2.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/tests/inventory b/roles/ams_0016_14.1.2.0/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0016_14.1.2.0/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0016_14.1.2.0/tests/test.yml b/roles/ams_0016_14.1.2.0/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0016_14.1.2.0/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/vars/main.yml b/roles/ams_0016_14.1.2.0/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0016_14.1.2.0/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0_AdminServer/.travis.yml b/roles/ams_0016_14.1.2.0_AdminServer/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0_AdminServer/README.md b/roles/ams_0016_14.1.2.0_AdminServer/README.md deleted file mode 100644 index b803936..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/README.md +++ /dev/null @@ -1,44 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 mit neuem AdminServer für die Administration. - -Durch den neuen AdminServer wurden auch die psc.sh und startALL/stopALL-Skripte angepasst bzw. neu hinzugefügt. - -Requirements ------------- - -Unterhalb von templates/ und files/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss folgende Role gelaufen sein - -- ams_0008_8.0.8.0 - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0_AdminServer - -License -------- - -BSD - -Author Information ------------------- - -2020327 M. Gillitzer diff --git a/roles/ams_0016_14.1.2.0_AdminServer/defaults/main.yml b/roles/ams_0016_14.1.2.0_AdminServer/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/common.xml b/roles/ams_0016_14.1.2.0_AdminServer/files/common.xml deleted file mode 100644 index a425d4e..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - true - - - - - diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/psc.sh b/roles/ams_0016_14.1.2.0_AdminServer/files/psc.sh deleted file mode 100755 index 08244a2..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/psc.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -APPS="DOWN" -else -APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status) -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -APPSADMIN="DOWN" -else -APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status) -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -WEBS="DOWN" -else -WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status) -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.status ] -then -BVS="DOWN" -else -BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.status) -fi -#Anzeige - -printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n" -if [[ $APPS = "STARTED" ]] -then -printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS" -else -printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS" -fi -if [[ $APPSADMIN = "STARTED" ]] -then -printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN" -else -printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN" -fi -if [[ $WEBS = "STARTED" ]] -then -printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS" -else -printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS" -fi -if [[ $BVS = "STARTED" ]] -then -printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS" -else -printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS" -fi diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/startALL b/roles/ams_0016_14.1.2.0_AdminServer/files/startALL deleted file mode 100755 index fb375c2..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/startALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.sh start; -fi -#Check for Appserveradmin -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/startALLwoa b/roles/ams_0016_14.1.2.0_AdminServer/files/startALLwoa deleted file mode 100755 index 5fedb52..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/startALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.sh start; -fi - -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/startadmin b/roles/ams_0016_14.1.2.0_AdminServer/files/startadmin deleted file mode 100755 index 9ca3a48..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/startadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/startapps b/roles/ams_0016_14.1.2.0_AdminServer/files/startapps deleted file mode 100755 index f0e6a76..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/startapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/stopALL b/roles/ams_0016_14.1.2.0_AdminServer/files/stopALL deleted file mode 100755 index d3f9309..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/stopALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.sh stop; -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin not running!" -else -$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/stopALLwoa b/roles/ams_0016_14.1.2.0_AdminServer/files/stopALLwoa deleted file mode 100755 index f87f40f..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/stopALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.2.0/service/rsAmsBvService.sh stop; -fi - -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/stopadmin b/roles/ams_0016_14.1.2.0_AdminServer/files/stopadmin deleted file mode 100755 index 7e332b4..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/stopadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/files/stopapps b/roles/ams_0016_14.1.2.0_AdminServer/files/stopapps deleted file mode 100755 index 8a24131..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/files/stopapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0016_14.1.2.0_AdminServer/handlers/main.yml b/roles/ams_0016_14.1.2.0_AdminServer/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0_AdminServer/meta/main.yml b/roles/ams_0016_14.1.2.0_AdminServer/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0_AdminServer/tasks/main.yml b/roles/ams_0016_14.1.2.0_AdminServer/tasks/main.yml deleted file mode 100644 index 7110fc0..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/tasks/main.yml +++ /dev/null @@ -1,146 +0,0 @@ ---- - - name: create folder "{{ base_dir }}/linux/Appserveradmin" - file: - path: "{{ base_dir }}/linux/Appserveradmin" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0016_14.1.2.0_AMS/1202153903_RS-97187_0016_14.1.2.0_AMS_1_6_BW_mit_Migration/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserveradmin/" - remote_src: yes - owner: jetty - group: dba - - - name: copy common.xml to "{{ base_dir }}/linux/Appserveradmin/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserveradmin/config/common.xml" - owner: jetty - group: dba - mode: '0644' - - - - name: Create a file /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log if it does not exist - file: - path: /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log - state: touch - mode: '0644' - owner: jetty - group: dba - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserveradmin with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - name: Copy file psc.sh for Appserveradmin with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - owner: jetty - group: dba - mode: '0755' - - name: Copy file startadmin for Appserveradmin with owner and permissions - copy: - src: ./files/startadmin - dest: /home/jetty/startadmin - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALL for Appserveradmin with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/startALLwoa - dest: /home/jetty/startALLwoa - owner: jetty - group: dba - mode: '0755' - - name: Copy file startapps for Appserveradmin with owner and permissions - copy: - src: ./files/startapps - dest: /home/jetty/startapps - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopadmin for Appserveradmin with owner and permissions - copy: - src: ./files/stopadmin - dest: /home/jetty/stopadmin - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALL for Appserveradmin with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/stopALLwoa - dest: /home/jetty/stopALLwoa - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopapps for Appserveradmin with owner and permissions - copy: - src: ./files/stopapps - dest: /home/jetty/stopapps - owner: jetty - group: dba - mode: '0755' - #- name: commit changes to git - #shell: | - #git add . - #git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0016_14.1.2.0_AdminServer" - #exit 0 - #args: - #chdir: "/opt/rola" - - - - - - - - - - - - - - - diff --git a/roles/ams_0016_14.1.2.0_AdminServer/templates/jetty.xml.j2 b/roles/ams_0016_14.1.2.0_AdminServer/templates/jetty.xml.j2 deleted file mode 100644 index b986e93..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty_admin-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0016_14.1.2.0_AdminServer/templates/pwd_Appserver.xml.j2 b/roles/ams_0016_14.1.2.0_AdminServer/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 5b85412..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 06.01.2020 14:55:52 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} ADMIN - - diff --git a/roles/ams_0016_14.1.2.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0016_14.1.2.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index f5d8a34..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,287 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8181 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserveradmin/rsWebserviceAdminAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0016_14.1.2.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0016_14.1.2.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 29c08a2..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - JILIHFCANEDGBCLKCHILFLEPPFOBHGOADDJOBPAECCAHCIENCCECHJIAHIDFKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_0016_14.1.2.0_AdminServer/tests/inventory b/roles/ams_0016_14.1.2.0_AdminServer/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0016_14.1.2.0_AdminServer/tests/test.yml b/roles/ams_0016_14.1.2.0_AdminServer/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0_AdminServer/vars/main.yml b/roles/ams_0016_14.1.2.0_AdminServer/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0016_14.1.2.0_AdminServer/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0/.travis.yml b/roles/ams_0017_14.1.4.0/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0017_14.1.4.0/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0/README.md b/roles/ams_0017_14.1.4.0/README.md deleted file mode 100644 index 225dd44..0000000 --- a/roles/ams_0017_14.1.4.0/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/ams_0017_14.1.4.0/defaults/main.yml b/roles/ams_0017_14.1.4.0/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0017_14.1.4.0/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0/dokumentation/Betriebshandbuch.pdf b/roles/ams_0017_14.1.4.0/dokumentation/Betriebshandbuch.pdf deleted file mode 100644 index f7c693f..0000000 Binary files a/roles/ams_0017_14.1.4.0/dokumentation/Betriebshandbuch.pdf and /dev/null differ diff --git a/roles/ams_0017_14.1.4.0/dokumentation/Releasedokumentation_0016.pdf b/roles/ams_0017_14.1.4.0/dokumentation/Releasedokumentation_0016.pdf deleted file mode 100644 index 53db0b6..0000000 Binary files a/roles/ams_0017_14.1.4.0/dokumentation/Releasedokumentation_0016.pdf and /dev/null differ diff --git a/roles/ams_0017_14.1.4.0/files/common.xml b/roles/ams_0017_14.1.4.0/files/common.xml deleted file mode 100644 index 31a3555..0000000 --- a/roles/ams_0017_14.1.4.0/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - diff --git a/roles/ams_0017_14.1.4.0/handlers/main.yml b/roles/ams_0017_14.1.4.0/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0017_14.1.4.0/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0/meta/main.yml b/roles/ams_0017_14.1.4.0/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0017_14.1.4.0/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0/tasks/main.yml b/roles/ams_0017_14.1.4.0/tasks/main.yml deleted file mode 100644 index 1829a36..0000000 --- a/roles/ams_0017_14.1.4.0/tasks/main.yml +++ /dev/null @@ -1,193 +0,0 @@ ---- -#ams - - name: create folder "{{ base_dir }}" - file: - path: "{{ base_dir }}" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux" - file: - path: "{{ base_dir }}/linux" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Appserver" - file: - path: "{{ base_dir }}/linux/Appserver" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Services" - file: - path: "{{ base_dir }}/linux/Services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserver/" - remote_src: yes - owner: jetty - group: dba - - - name: unarchive //sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/Services.tar.gz - unarchive: - src: //sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/Services.tar.gz - dest: "{{ base_dir }}/linux/Services/" - remote_src: yes - owner: jetty - group: dba - - - name: create folder webclient-services - file: - path: "{{ base_dir }}/linux/webclient-services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: tar datei rsAmsBvService-14.1.4.0.tar.gz entpacken - unarchive: - src: //sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/webclient-services/rsAmsBvService-14.1.4.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - name: tar datei SharedComponents-14.1.4.0.tar.gz entpacken - unarchive: - src: //sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/webclient-services/SharedComponents-14.1.4.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file pwd_ServiceIMP.xml.j2 with owner and permissions - template: - src: pwd_ServiceIMP.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Copy file rsWebserviceImp20.xml.j2 with owner and permissions - template: - src: rsWebserviceImp20.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/rsWebserviceImp20.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceImp20.conf.j2 with owner and permissions - template: - src: rsWebserviceImp20.conf.j2 - dest: "{{ base_dir }}/linux/Services/service/config/rsWebserviceImp20.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: rsAmsBvService.conf.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.4.0/service/config/rsAmsBvService.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: tech.database.yaml.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.4.0/frameworkconfig/prefs/tech.database.yaml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserver with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Services with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Services/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Appserver/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserver/config/common.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Services/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Services/config/common.xml" - owner: jetty - group: dba - mode: '0644' - -# wleche jdk-version muss genutzt werden? -# openjdk alt entfernen und dann neues tar-installieren? - - - - #- name: commit changes to git - #shell: | - #git add . - #git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0017_14.1.4.0" - #exit 0 - #args: - #chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0017_14.1.4.0/templates/jetty.xml.j2 b/roles/ams_0017_14.1.4.0/templates/jetty.xml.j2 deleted file mode 100644 index 00e98dd..0000000 --- a/roles/ams_0017_14.1.4.0/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0017_14.1.4.0/templates/pwd_Appserver.xml.j2 b/roles/ams_0017_14.1.4.0/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 91942ee..0000000 --- a/roles/ams_0017_14.1.4.0/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 31.03.2021 10:12:00 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0017_14.1.4.0/templates/pwd_ServiceIMP.xml.j2 b/roles/ams_0017_14.1.4.0/templates/pwd_ServiceIMP.xml.j2 deleted file mode 100644 index 91942ee..0000000 --- a/roles/ams_0017_14.1.4.0/templates/pwd_ServiceIMP.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 31.03.2021 10:12:00 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0017_14.1.4.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0017_14.1.4.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index eafa617..0000000 --- a/roles/ams_0017_14.1.4.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/bvservice/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0017_14.1.4.0/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0017_14.1.4.0/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index 4be5b6c..0000000 --- a/roles/ams_0017_14.1.4.0/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,290 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/appserver/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE -wrapper.java.additional.100=-Dsun.security.krb5.debug=true - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8080 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="/opt/logs/appserver/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="/opt/logs/appserver/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0017_14.1.4.0/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0017_14.1.4.0/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 949ef85..0000000 --- a/roles/ams_0017_14.1.4.0/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ sso_principal_name }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0017_14.1.4.0/templates/rsWebserviceImp20.conf.j2 b/roles/ams_0017_14.1.4.0/templates/rsWebserviceImp20.conf.j2 deleted file mode 100644 index 9a232b6..0000000 --- a/roles/ams_0017_14.1.4.0/templates/rsWebserviceImp20.conf.j2 +++ /dev/null @@ -1,289 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceImp20 -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceImp20_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=7272 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceImp20-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=2048 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=imp20 -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=imp20 -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.core -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.server.imp.rest.IMPRESTServlet -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceImp20.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/webservice/rsWebserviceImp20-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceImp20-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceImp20 - -# Display name of the service -wrapper.displayname=rsWebserviceImp20 - -# Description of the service -wrapper.description=rsWebserviceImp20 - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0017_14.1.4.0/templates/rsWebserviceImp20.xml.j2 b/roles/ams_0017_14.1.4.0/templates/rsWebserviceImp20.xml.j2 deleted file mode 100644 index c488385..0000000 --- a/roles/ams_0017_14.1.4.0/templates/rsWebserviceImp20.xml.j2 +++ /dev/null @@ -1,484 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - EICKMEBNJLFDLOGMDDLPIMCOELFGGEHGIHLJLEGDKCCMGFMDOLHPOBBECBGJKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - LOGIN-VERBOSE - CONNECTION - INTERFACE-COMMUNICATION - IMP-INTERFACE - XML-MAPPING - XML-OUTPUT - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübernahme aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0017_14.1.4.0/templates/tech.database.yaml.j2 b/roles/ams_0017_14.1.4.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0017_14.1.4.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0/tests/inventory b/roles/ams_0017_14.1.4.0/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0017_14.1.4.0/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0017_14.1.4.0/tests/test.yml b/roles/ams_0017_14.1.4.0/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0017_14.1.4.0/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0/vars/main.yml b/roles/ams_0017_14.1.4.0/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0017_14.1.4.0/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0_AdminServer/.travis.yml b/roles/ams_0017_14.1.4.0_AdminServer/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0_AdminServer/README.md b/roles/ams_0017_14.1.4.0_AdminServer/README.md deleted file mode 100644 index b803936..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/README.md +++ /dev/null @@ -1,44 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 mit neuem AdminServer für die Administration. - -Durch den neuen AdminServer wurden auch die psc.sh und startALL/stopALL-Skripte angepasst bzw. neu hinzugefügt. - -Requirements ------------- - -Unterhalb von templates/ und files/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss folgende Role gelaufen sein - -- ams_0008_8.0.8.0 - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0_AdminServer - -License -------- - -BSD - -Author Information ------------------- - -2020327 M. Gillitzer diff --git a/roles/ams_0017_14.1.4.0_AdminServer/defaults/main.yml b/roles/ams_0017_14.1.4.0_AdminServer/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/common.xml b/roles/ams_0017_14.1.4.0_AdminServer/files/common.xml deleted file mode 100644 index 31a3555..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/psc.sh b/roles/ams_0017_14.1.4.0_AdminServer/files/psc.sh deleted file mode 100755 index fbfe62d..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/psc.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -APPS="DOWN" -else -APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status) -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -APPSADMIN="DOWN" -else -APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status) -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -WEBS="DOWN" -else -WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status) -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.status ] -then -BVS="DOWN" -else -BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.status) -fi -#Anzeige - -printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n" -if [[ $APPS = "STARTED" ]] -then -printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS" -else -printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS" -fi -if [[ $APPSADMIN = "STARTED" ]] -then -printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN" -else -printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN" -fi -if [[ $WEBS = "STARTED" ]] -then -printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS" -else -printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS" -fi -if [[ $BVS = "STARTED" ]] -then -printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS" -else -printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS" -fi diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/startALL b/roles/ams_0017_14.1.4.0_AdminServer/files/startALL deleted file mode 100755 index 3f4fe58..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/startALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.sh start; -fi -#Check for Appserveradmin -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/startALLwoa b/roles/ams_0017_14.1.4.0_AdminServer/files/startALLwoa deleted file mode 100755 index 8b6e95b..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/startALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.sh start; -fi - -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/startadmin b/roles/ams_0017_14.1.4.0_AdminServer/files/startadmin deleted file mode 100755 index 9ca3a48..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/startadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/startapps b/roles/ams_0017_14.1.4.0_AdminServer/files/startapps deleted file mode 100755 index f0e6a76..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/startapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/stopALL b/roles/ams_0017_14.1.4.0_AdminServer/files/stopALL deleted file mode 100755 index df84f9a..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/stopALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.sh stop; -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin not running!" -else -$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/stopALLwoa b/roles/ams_0017_14.1.4.0_AdminServer/files/stopALLwoa deleted file mode 100755 index 6bd3bcb..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/stopALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.4.0/service/rsAmsBvService.sh stop; -fi - -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/stopadmin b/roles/ams_0017_14.1.4.0_AdminServer/files/stopadmin deleted file mode 100755 index 7e332b4..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/stopadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/files/stopapps b/roles/ams_0017_14.1.4.0_AdminServer/files/stopapps deleted file mode 100755 index 8a24131..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/files/stopapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0017_14.1.4.0_AdminServer/handlers/main.yml b/roles/ams_0017_14.1.4.0_AdminServer/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0_AdminServer/meta/main.yml b/roles/ams_0017_14.1.4.0_AdminServer/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0_AdminServer/tasks/main.yml b/roles/ams_0017_14.1.4.0_AdminServer/tasks/main.yml deleted file mode 100644 index 8841b88..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/tasks/main.yml +++ /dev/null @@ -1,167 +0,0 @@ ---- - - name: create folder "{{ base_dir }}/linux/Appserveradmin" - file: - path: "{{ base_dir }}/linux/Appserveradmin" - state: directory - mode: '0755' - owner: jetty - group: dba - tags: appserveradmin - - - name: unarchive /sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0017_14.1.4.0_AMS_BW_1_6/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserveradmin/" - remote_src: yes - owner: jetty - group: dba - tags: appserveradmin - - - name: copy common.xml to "{{ base_dir }}/linux/Appserveradmin/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserveradmin/config/common.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Create a file /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log if it does not exist - file: - path: /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log - state: touch - mode: '0644' - owner: jetty - group: dba - tags: appserveradmin - - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file jetty.xml.j2 for Appserveradmin with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Copy file psc.sh for Appserveradmin with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startadmin for Appserveradmin with owner and permissions - copy: - src: ./files/startadmin - dest: /home/jetty/startadmin - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startALL for Appserveradmin with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/startALLwoa - dest: /home/jetty/startALLwoa - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startapps for Appserveradmin with owner and permissions - copy: - src: ./files/startapps - dest: /home/jetty/startapps - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopadmin for Appserveradmin with owner and permissions - copy: - src: ./files/stopadmin - dest: /home/jetty/stopadmin - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopALL for Appserveradmin with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/stopALLwoa - dest: /home/jetty/stopALLwoa - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopapps for Appserveradmin with owner and permissions - copy: - src: ./files/stopapps - dest: /home/jetty/stopapps - owner: jetty - group: dba - mode: '0755' - - - name: commit changes to git - shell: | - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0017_14.1.4.0_AdminServer" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - diff --git a/roles/ams_0017_14.1.4.0_AdminServer/templates/jetty.xml.j2 b/roles/ams_0017_14.1.4.0_AdminServer/templates/jetty.xml.j2 deleted file mode 100644 index b986e93..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty_admin-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0017_14.1.4.0_AdminServer/templates/pwd_Appserver.xml.j2 b/roles/ams_0017_14.1.4.0_AdminServer/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 9b7b059..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 31.03.2021 10:12:00 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} ADMIN - - diff --git a/roles/ams_0017_14.1.4.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0017_14.1.4.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index 95fcca1..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,289 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/appserver/rsWebserviceAppserverAdmin_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8181 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="/opt/logs/appserver/rsWebserviceAppserverAdmin-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserveradmin/rsWebserviceAdminAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0017_14.1.4.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0017_14.1.4.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 6a5d21b..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - EICKMEBNJLFDLOGMDDLPIMCOELFGGEHGIHLJLEGDKCCMGFMDOLHPOBBECBGJKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_0017_14.1.4.0_AdminServer/tests/inventory b/roles/ams_0017_14.1.4.0_AdminServer/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0017_14.1.4.0_AdminServer/tests/test.yml b/roles/ams_0017_14.1.4.0_AdminServer/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0017_14.1.4.0_AdminServer/vars/main.yml b/roles/ams_0017_14.1.4.0_AdminServer/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0017_14.1.4.0_AdminServer/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0/.travis.yml b/roles/ams_0019_14.1.6.0/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0019_14.1.6.0/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0/README.md b/roles/ams_0019_14.1.6.0/README.md deleted file mode 100644 index 225dd44..0000000 --- a/roles/ams_0019_14.1.6.0/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/ams_0019_14.1.6.0/defaults/main.yml b/roles/ams_0019_14.1.6.0/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0019_14.1.6.0/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0/dokumentation/Betriebshandbuch.pdf b/roles/ams_0019_14.1.6.0/dokumentation/Betriebshandbuch.pdf deleted file mode 100644 index f7c693f..0000000 Binary files a/roles/ams_0019_14.1.6.0/dokumentation/Betriebshandbuch.pdf and /dev/null differ diff --git a/roles/ams_0019_14.1.6.0/dokumentation/Releasedokumentation_0016.pdf b/roles/ams_0019_14.1.6.0/dokumentation/Releasedokumentation_0016.pdf deleted file mode 100644 index 53db0b6..0000000 Binary files a/roles/ams_0019_14.1.6.0/dokumentation/Releasedokumentation_0016.pdf and /dev/null differ diff --git a/roles/ams_0019_14.1.6.0/files/common.xml b/roles/ams_0019_14.1.6.0/files/common.xml deleted file mode 100644 index 31a3555..0000000 --- a/roles/ams_0019_14.1.6.0/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - diff --git a/roles/ams_0019_14.1.6.0/handlers/main.yml b/roles/ams_0019_14.1.6.0/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0019_14.1.6.0/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0/meta/main.yml b/roles/ams_0019_14.1.6.0/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0019_14.1.6.0/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0/tasks/main.yml b/roles/ams_0019_14.1.6.0/tasks/main.yml deleted file mode 100644 index cf7d7eb..0000000 --- a/roles/ams_0019_14.1.6.0/tasks/main.yml +++ /dev/null @@ -1,193 +0,0 @@ ---- -#ams - - name: create folder "{{ base_dir }}" - file: - path: "{{ base_dir }}" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux" - file: - path: "{{ base_dir }}/linux" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Appserver" - file: - path: "{{ base_dir }}/linux/Appserver" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Services" - file: - path: "{{ base_dir }}/linux/Services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserver/" - remote_src: yes - owner: jetty - group: dba - - - name: unarchive //sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/Services.tar.gz - unarchive: - src: //sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/Services.tar.gz - dest: "{{ base_dir }}/linux/Services/" - remote_src: yes - owner: jetty - group: dba - - - name: create folder webclient-services - file: - path: "{{ base_dir }}/linux/webclient-services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: tar datei rsAmsBvService-14.1.6.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/webclient-services/rsAmsBvService-14.1.6.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - name: tar datei SharedComponents-14.1.6.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/webclient-services/SharedComponents-14.1.6.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - - name: Template file pwd_Appserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file pwd_ServiceIMP.xml.j2 with owner and permissions - template: - src: pwd_ServiceIMP.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Copy file rsWebserviceImp20.xml.j2 with owner and permissions - template: - src: rsWebserviceImp20.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/rsWebserviceImp20.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceImp20.conf.j2 with owner and permissions - template: - src: rsWebserviceImp20.conf.j2 - dest: "{{ base_dir }}/linux/Services/service/config/rsWebserviceImp20.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: rsAmsBvService.conf.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.6.0/service/config/rsAmsBvService.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: tech.database.yaml.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/prefs/tech.database.yaml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserver with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Services with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Services/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Appserver/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserver/config/common.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Services/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Services/config/common.xml" - owner: jetty - group: dba - mode: '0644' - -# wleche jdk-version muss genutzt werden? -# openjdk alt entfernen und dann neues tar-installieren? - - - - #- name: commit changes to git - #shell: | - #git add . - #git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "0019_14.1.6.0_Hotfix_BW" - #exit 0 - #args: - #chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0019_14.1.6.0/templates/jetty.xml.j2 b/roles/ams_0019_14.1.6.0/templates/jetty.xml.j2 deleted file mode 100644 index 00e98dd..0000000 --- a/roles/ams_0019_14.1.6.0/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0019_14.1.6.0/templates/pwd_Appserver.xml.j2 b/roles/ams_0019_14.1.6.0/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 4e32dbd..0000000 --- a/roles/ams_0019_14.1.6.0/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 16.09.2021 14:02:44 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0019_14.1.6.0/templates/pwd_ServiceIMP.xml.j2 b/roles/ams_0019_14.1.6.0/templates/pwd_ServiceIMP.xml.j2 deleted file mode 100644 index 4e32dbd..0000000 --- a/roles/ams_0019_14.1.6.0/templates/pwd_ServiceIMP.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 16.09.2021 14:02:44 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0019_14.1.6.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0019_14.1.6.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index eafa617..0000000 --- a/roles/ams_0019_14.1.6.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/bvservice/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0019_14.1.6.0/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0019_14.1.6.0/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index 4be5b6c..0000000 --- a/roles/ams_0019_14.1.6.0/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,290 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/appserver/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE -wrapper.java.additional.100=-Dsun.security.krb5.debug=true - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8080 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="/opt/logs/appserver/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="/opt/logs/appserver/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0019_14.1.6.0/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0019_14.1.6.0/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 949ef85..0000000 --- a/roles/ams_0019_14.1.6.0/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ sso_principal_name }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0/templates/rsWebserviceImp20.conf.j2 b/roles/ams_0019_14.1.6.0/templates/rsWebserviceImp20.conf.j2 deleted file mode 100644 index 9a232b6..0000000 --- a/roles/ams_0019_14.1.6.0/templates/rsWebserviceImp20.conf.j2 +++ /dev/null @@ -1,289 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceImp20 -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceImp20_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=7272 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceImp20-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=2048 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=imp20 -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=imp20 -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.core -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.server.imp.rest.IMPRESTServlet -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceImp20.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/webservice/rsWebserviceImp20-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceImp20-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceImp20 - -# Display name of the service -wrapper.displayname=rsWebserviceImp20 - -# Description of the service -wrapper.description=rsWebserviceImp20 - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0019_14.1.6.0/templates/rsWebserviceImp20.xml.j2 b/roles/ams_0019_14.1.6.0/templates/rsWebserviceImp20.xml.j2 deleted file mode 100644 index c488385..0000000 --- a/roles/ams_0019_14.1.6.0/templates/rsWebserviceImp20.xml.j2 +++ /dev/null @@ -1,484 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - EICKMEBNJLFDLOGMDDLPIMCOELFGGEHGIHLJLEGDKCCMGFMDOLHPOBBECBGJKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - LOGIN-VERBOSE - CONNECTION - INTERFACE-COMMUNICATION - IMP-INTERFACE - XML-MAPPING - XML-OUTPUT - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübernahme aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0/templates/tech.database.yaml.j2 b/roles/ams_0019_14.1.6.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0019_14.1.6.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0/tests/inventory b/roles/ams_0019_14.1.6.0/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0019_14.1.6.0/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0019_14.1.6.0/tests/test.yml b/roles/ams_0019_14.1.6.0/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0019_14.1.6.0/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0/vars/main.yml b/roles/ams_0019_14.1.6.0/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0019_14.1.6.0/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_AdminServer/.travis.yml b/roles/ams_0019_14.1.6.0_AdminServer/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_AdminServer/README.md b/roles/ams_0019_14.1.6.0_AdminServer/README.md deleted file mode 100644 index b803936..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/README.md +++ /dev/null @@ -1,44 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 mit neuem AdminServer für die Administration. - -Durch den neuen AdminServer wurden auch die psc.sh und startALL/stopALL-Skripte angepasst bzw. neu hinzugefügt. - -Requirements ------------- - -Unterhalb von templates/ und files/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss folgende Role gelaufen sein - -- ams_0008_8.0.8.0 - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0_AdminServer - -License -------- - -BSD - -Author Information ------------------- - -2020327 M. Gillitzer diff --git a/roles/ams_0019_14.1.6.0_AdminServer/defaults/main.yml b/roles/ams_0019_14.1.6.0_AdminServer/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/common.xml b/roles/ams_0019_14.1.6.0_AdminServer/files/common.xml deleted file mode 100644 index 31a3555..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/psc.sh b/roles/ams_0019_14.1.6.0_AdminServer/files/psc.sh deleted file mode 100755 index dd65f82..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/psc.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -APPS="DOWN" -else -APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status) -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -APPSADMIN="DOWN" -else -APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status) -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -WEBS="DOWN" -else -WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status) -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -BVS="DOWN" -else -BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status) -fi -#Anzeige - -printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n" -if [[ $APPS = "STARTED" ]] -then -printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS" -else -printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS" -fi -if [[ $APPSADMIN = "STARTED" ]] -then -printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN" -else -printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN" -fi -if [[ $WEBS = "STARTED" ]] -then -printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS" -else -printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS" -fi -if [[ $BVS = "STARTED" ]] -then -printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS" -else -printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS" -fi diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/startALL b/roles/ams_0019_14.1.6.0_AdminServer/files/startALL deleted file mode 100755 index d36e062..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/startALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh start; -fi -#Check for Appserveradmin -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/startALLwoa b/roles/ams_0019_14.1.6.0_AdminServer/files/startALLwoa deleted file mode 100755 index 376b316..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/startALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh start; -fi - -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/startadmin b/roles/ams_0019_14.1.6.0_AdminServer/files/startadmin deleted file mode 100755 index 9ca3a48..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/startadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/startapps b/roles/ams_0019_14.1.6.0_AdminServer/files/startapps deleted file mode 100755 index f0e6a76..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/startapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/stopALL b/roles/ams_0019_14.1.6.0_AdminServer/files/stopALL deleted file mode 100755 index dee4593..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/stopALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh stop; -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin not running!" -else -$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/stopALLwoa b/roles/ams_0019_14.1.6.0_AdminServer/files/stopALLwoa deleted file mode 100755 index a9be9ed..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/stopALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh stop; -fi - -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/stopadmin b/roles/ams_0019_14.1.6.0_AdminServer/files/stopadmin deleted file mode 100755 index 7e332b4..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/stopadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/files/stopapps b/roles/ams_0019_14.1.6.0_AdminServer/files/stopapps deleted file mode 100755 index 8a24131..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/files/stopapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0019_14.1.6.0_AdminServer/handlers/main.yml b/roles/ams_0019_14.1.6.0_AdminServer/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_AdminServer/meta/main.yml b/roles/ams_0019_14.1.6.0_AdminServer/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_AdminServer/tasks/main.yml b/roles/ams_0019_14.1.6.0_AdminServer/tasks/main.yml deleted file mode 100644 index 66e9b15..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/tasks/main.yml +++ /dev/null @@ -1,167 +0,0 @@ ---- - - name: create folder "{{ base_dir }}/linux/Appserveradmin" - file: - path: "{{ base_dir }}/linux/Appserveradmin" - state: directory - mode: '0755' - owner: jetty - group: dba - tags: appserveradmin - - - name: unarchive /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserveradmin/" - remote_src: yes - owner: jetty - group: dba - tags: appserveradmin - - - name: copy common.xml to "{{ base_dir }}/linux/Appserveradmin/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserveradmin/config/common.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Create a file /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log if it does not exist - file: - path: /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log - state: touch - mode: '0644' - owner: jetty - group: dba - tags: appserveradmin - - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file jetty.xml.j2 for Appserveradmin with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Copy file psc.sh for Appserveradmin with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startadmin for Appserveradmin with owner and permissions - copy: - src: ./files/startadmin - dest: /home/jetty/startadmin - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startALL for Appserveradmin with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/startALLwoa - dest: /home/jetty/startALLwoa - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startapps for Appserveradmin with owner and permissions - copy: - src: ./files/startapps - dest: /home/jetty/startapps - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopadmin for Appserveradmin with owner and permissions - copy: - src: ./files/stopadmin - dest: /home/jetty/stopadmin - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopALL for Appserveradmin with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/stopALLwoa - dest: /home/jetty/stopALLwoa - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopapps for Appserveradmin with owner and permissions - copy: - src: ./files/stopapps - dest: /home/jetty/stopapps - owner: jetty - group: dba - mode: '0755' - - - name: commit changes to git - shell: | - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_0019_14.1.6.0_AdminServer" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - diff --git a/roles/ams_0019_14.1.6.0_AdminServer/templates/jetty.xml.j2 b/roles/ams_0019_14.1.6.0_AdminServer/templates/jetty.xml.j2 deleted file mode 100644 index b986e93..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty_admin-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0019_14.1.6.0_AdminServer/templates/pwd_Appserver.xml.j2 b/roles/ams_0019_14.1.6.0_AdminServer/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 0140642..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 23.06.2021 07:39:17 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} ADMIN - - diff --git a/roles/ams_0019_14.1.6.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0019_14.1.6.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index 95fcca1..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,289 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/appserver/rsWebserviceAppserverAdmin_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8181 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="/opt/logs/appserver/rsWebserviceAppserverAdmin-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserveradmin/rsWebserviceAdminAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0019_14.1.6.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0019_14.1.6.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 0e755f4..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - DBMICLCIOOAEKOLGIPJHJEJFCPOFPNLOPILFHPBPIALGIKJHMNNLCLBBGGBCKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0_AdminServer/tests/inventory b/roles/ams_0019_14.1.6.0_AdminServer/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0019_14.1.6.0_AdminServer/tests/test.yml b/roles/ams_0019_14.1.6.0_AdminServer/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_AdminServer/vars/main.yml b/roles/ams_0019_14.1.6.0_AdminServer/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0019_14.1.6.0_AdminServer/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/.travis.yml b/roles/ams_0019_14.1.6.0_enable_monitoring/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/README.md b/roles/ams_0019_14.1.6.0_enable_monitoring/README.md deleted file mode 100644 index 225dd44..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/defaults/main.yml b/roles/ams_0019_14.1.6.0_enable_monitoring/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/dokumentation/Betriebshandbuch.pdf b/roles/ams_0019_14.1.6.0_enable_monitoring/dokumentation/Betriebshandbuch.pdf deleted file mode 100644 index f7c693f..0000000 Binary files a/roles/ams_0019_14.1.6.0_enable_monitoring/dokumentation/Betriebshandbuch.pdf and /dev/null differ diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/dokumentation/Releasedokumentation_0016.pdf b/roles/ams_0019_14.1.6.0_enable_monitoring/dokumentation/Releasedokumentation_0016.pdf deleted file mode 100644 index 53db0b6..0000000 Binary files a/roles/ams_0019_14.1.6.0_enable_monitoring/dokumentation/Releasedokumentation_0016.pdf and /dev/null differ diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/files/extension.system.properties b/roles/ams_0019_14.1.6.0_enable_monitoring/files/extension.system.properties deleted file mode 100644 index 769c099..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/files/extension.system.properties +++ /dev/null @@ -1,75 +0,0 @@ -# System properties evaluated by Rola OSGi framework system extension during early OSGi framework boot phase. -# Don't set OSGi/Equinox framework properties here (use launcher.system.properties for this use case)! -# -# Support variable substitution based on system properties and environment variables. Format: ${PROPERTY_OR_ENV_KEY} -# -# Mandatory (pre-set) system properties: -# rola.frameworkconfig : Framework configuration root directory e.g. "C:\...\frameworkconfig" -# Support calculated system-properties to access framework configuration root directory: -# rola.frameworkconfig.uri : Framework configuration root directory converted to URI, e.g. "file://.../frameworkconfig/" -# rola.service.name: Rola Service Name - -# PAX Logging defaults -org.ops4j.pax.logging.DefaultServiceLog.level=OFF -org.ops4j.pax.logging.service.frameworkEventsLogLevel=DISABLED - - -# Felix fileinstall -felix.fileinstall.dir=${rola.frameworkconfig}/configadmin -felix.fileinstall.tmpdir=${rola.work.configuration}/fileinstall-tmp -felix.fileinstall.filter=.*\.cfg -felix.fileinstall.noInitialDelay=true -felix.fileinstall.poll=2000 -felix.fileinstall.enableConfigSave=false -felix.fileinstall.log.level=10 - -#Felix configadmin patch -org.apache.felix.cm.impl.enablepersistence=false - -# Logging -rola.logback.basedir=${rola.frameworkconfig}/logging -rola.logback.configfile=${rola.logback.basedir}/logback.xml -rola.logfile.path=${rola.work.configuration}/logs -rola.logfile.name=${rola.service.name} -rola.logfile.suffix=.log - -# Spring actuator support (follows configuration above) -logging.file=${rola.logfile.path}/${rola.logfile.name}${rola.logfile.suffix} - -# Rola -rola.boot.checkenv.mindiskspace=500 -# Warn for slow bean creation (ms) -com.rola.spring.context.OsgiApplicationContext.slowbeancreation: -1 - -########################################################################################## -## Vaadin related settings -## -########################################################################################## -org.atmosphere.cpr.broadcaster.maxAsyncWriteThreads=-1 - -########################################################################################## -## OSGi HTTP Service -## -## Details/Reference: -## http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html -########################################################################################## - -#org.osgi.service.http.port=8080 -#org.osgi.service.http.port.secure=8443 -org.apache.felix.http.host=0.0.0.0 -org.apache.felix.http.timeout=600000 - -org.apache.felix.http.requestlog.file.path=${rola.logfile.path}/jetty-${rola.service.name}-yyyy_mm_dd.request.log -#org.apache.felix.http.requestlog.file.async=false -org.apache.felix.http.requestlog.file.loglatency=true -org.apache.felix.http.requestlog.file.retaindays=2 - - -# HTTP session timeout in minutes (default: 120, 0=infinite) -# Documentation: http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html -org.apache.felix.http.session.timeout=120 -org.eclipse.jetty.servlet.SessionCookie=JSESSIONID -org.apache.felix.http.jetty.maxFormSize=1048576 - - - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/files/tech.diagnostics.yaml b/roles/ams_0019_14.1.6.0_enable_monitoring/files/tech.diagnostics.yaml deleted file mode 100644 index 28dec5c..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/files/tech.diagnostics.yaml +++ /dev/null @@ -1,24 +0,0 @@ -## Scope -bundle.name: com.rola.spring - -## Diagnostic endpoint and actuator security configuration -diag.security: - ## Optional username for "/diag" remote access [development default: "actuator] - #user: actuator - - ## Optional password hash for "/diag" remote access [format: passwd/htpasswd compatible, default: "actuator#1234"] - ## Generation tools e.g. openssl or mkpasswd, e.g. "openssl passwd -apr1 -salt salt hello" or "mkpasswd -m sha-256" - #password: "$6$iHta0sAPdmS$uwatLr4PTUMtRTlTZxyd5F.u.zth12FWsFhC2.gsT6JPbI7IKmcYAGWN3.BD3Zpn0.4MCt.xfMK81RKCirdbU/" - - ## Mandatory spring security access filter expression (https://docs.spring.io/spring-security/site/docs/5.0.x/reference/html/el-access.html) [default: "denyAll()"] - #access: "isAuthenticated()" - ## Other common samples for "access" expression: - #access: "isAuthenticated() and (hasIpAddress('127.0.0.1/24') or hasIpAddress('::1'))" - #access: "hasIpAddress('127.0.0.1') or hasIpAddress('::1')" - access: "permitAll()" - #access: "denyAll()" - -## Spring actuator config: enable or disable health endpoint [true|false, default: true] -management.endpoint.health.enabled: true -## Spring actuator config: configure health endpoint details [when-authorized|always|never, default: when-authorized] -management.endpoint.health.show-details: always diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/handlers/main.yml b/roles/ams_0019_14.1.6.0_enable_monitoring/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/meta/main.yml b/roles/ams_0019_14.1.6.0_enable_monitoring/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/tasks/main.yml b/roles/ams_0019_14.1.6.0_enable_monitoring/tasks/main.yml deleted file mode 100644 index cba5ccf..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/tasks/main.yml +++ /dev/null @@ -1,61 +0,0 @@ ---- -##hiermit wird das Monitoring eingeschaltet - - - - name: copy tech.diagnostics.yaml to /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/prefs/tech.diagnostics.yaml - copy: - src: tech.diagnostics.yaml - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/prefs/tech.diagnostics.yaml - owner: jetty - group: dba - mode: 0644 - - - name: copy extension.system.properties to /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/boot/extension.system.properties - copy: - src: extension.system.properties - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/boot/extension.system.properties - owner: jetty - group: dba - mode: 0644 - - - name: Template file rsWebserviceAppserver.xml_enable_mon.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml_enable_mon.j2 - dest: "{{ base_dir }}/linux/Appserver/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - - - name: Copy file rsWebserviceImp20.xml_enable_mon.j2 with owner and permissions - template: - src: rsWebserviceImp20.xml_enable_mon.j2 - dest: "{{ base_dir }}/linux/Services/config/rsWebserviceImp20.xml" - owner: jetty - group: dba - mode: '0644' - - - name: Template file rsWebserviceAppserverAdmin.xml_enable_mon.j2 with owner and permissions - template: - src: rsWebserviceAppserverAdmin.xml_enable_mon.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - - - name: Template file rsWebserviceSpAssImpVbs.xml.j2 with owner and permissions - template: - src: rsWebserviceSpAssImpVbs.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/rsWebserviceSpAssImpVbs.xml" - owner: jetty - group: dba - mode: '0644' - backup: yes - - - - - - - - - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceAppserver.xml_enable_mon.j2 b/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceAppserver.xml_enable_mon.j2 deleted file mode 100644 index c09f2cf..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceAppserver.xml_enable_mon.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ sso_principal_name }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceAppserverAdmin.xml_enable_mon.j2 b/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceAppserverAdmin.xml_enable_mon.j2 deleted file mode 100644 index 7a5f80c..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceAppserverAdmin.xml_enable_mon.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - DBMICLCIOOAEKOLGIPJHJEJFCPOFPNLOPILFHPBPIALGIKJHMNNLCLBBGGBCKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceImp20.xml_enable_mon.j2 b/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceImp20.xml_enable_mon.j2 deleted file mode 100644 index 5b04784..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceImp20.xml_enable_mon.j2 +++ /dev/null @@ -1,484 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - DBMICLCIOOAEKOLGIPJHJEJFCPOFPNLOPILFHPBPIALGIKJHMNNLCLBBGGBCKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - LOGIN-VERBOSE - CONNECTION - INTERFACE-COMMUNICATION - IMP-INTERFACE - XML-MAPPING - XML-OUTPUT - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübernahme aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceSpAssImpVbs.xml.j2 b/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceSpAssImpVbs.xml.j2 deleted file mode 100644 index 2280299..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceSpAssImpVbs.xml.j2 +++ /dev/null @@ -1,487 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - 1 - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceBVService.log - - {{ LOG_DIR }}/bvservice - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - polizei.bayern.de/ams?modul=vbs&amp;user=%s - - polizei.bayern.de/IGVP?modul=icm-QI2500 - - - - - polizei.bayern.de/IGVP?modul=icm-QI2500 - - polizei.bayern.de/ams?modul=vbs&amp;user=%s - - - http://localhost:8083/soapui/rest/mockservice - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübernahme aus Fremdsystem - 120 - true - false - %USER_TEMP% - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - - 60000 - - true - - - - - true - - - - - - - - - %USER_TEMP%/export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceSpAssImpVbs.xml_orig b/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceSpAssImpVbs.xml_orig deleted file mode 100644 index f62e1a2..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/templates/rsWebserviceSpAssImpVbs.xml_orig +++ /dev/null @@ -1,487 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - 1 - - %USER_TEMP% - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - WARNING - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - - - %USER_TEMP% - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - %USER_TEMP%/rsCasePrintTemp - - - - - - %USER_TEMP%/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - polizei.bayern.de/ams?modul=vbs&amp;user=%s - - polizei.bayern.de/IGVP?modul=icm-QI2500 - - - - - polizei.bayern.de/IGVP?modul=icm-QI2500 - - polizei.bayern.de/ams?modul=vbs&amp;user=%s - - - http://localhost:8083/soapui/rest/mockservice - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübernahme aus Fremdsystem - 120 - true - false - %USER_TEMP% - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - - 60000 - - true - - - - - true - - - - - - - - - %USER_TEMP%/export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - @ENV=RS_HOME@/config/module/dictionary/ - - @ENV=RS_HOME@/config/module/dictionary/ - - %USER_TEMP%/dictionary/ - - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/tests/inventory b/roles/ams_0019_14.1.6.0_enable_monitoring/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/tests/test.yml b/roles/ams_0019_14.1.6.0_enable_monitoring/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0019_14.1.6.0_enable_monitoring/vars/main.yml b/roles/ams_0019_14.1.6.0_enable_monitoring/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0019_14.1.6.0_enable_monitoring/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0/.travis.yml b/roles/ams_0023_14.1.8.0/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0023_14.1.8.0/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0/README.md b/roles/ams_0023_14.1.8.0/README.md deleted file mode 100644 index 225dd44..0000000 --- a/roles/ams_0023_14.1.8.0/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/ams_0023_14.1.8.0/defaults/main.yml b/roles/ams_0023_14.1.8.0/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0023_14.1.8.0/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0/dokumentation/Betriebshandbuch.pdf b/roles/ams_0023_14.1.8.0/dokumentation/Betriebshandbuch.pdf deleted file mode 100644 index f7c693f..0000000 Binary files a/roles/ams_0023_14.1.8.0/dokumentation/Betriebshandbuch.pdf and /dev/null differ diff --git a/roles/ams_0023_14.1.8.0/dokumentation/Releasedokumentation_0016.pdf b/roles/ams_0023_14.1.8.0/dokumentation/Releasedokumentation_0016.pdf deleted file mode 100644 index 53db0b6..0000000 Binary files a/roles/ams_0023_14.1.8.0/dokumentation/Releasedokumentation_0016.pdf and /dev/null differ diff --git a/roles/ams_0023_14.1.8.0/files/common.xml b/roles/ams_0023_14.1.8.0/files/common.xml deleted file mode 100644 index 31a3555..0000000 --- a/roles/ams_0023_14.1.8.0/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - diff --git a/roles/ams_0023_14.1.8.0/files/extension.system.properties b/roles/ams_0023_14.1.8.0/files/extension.system.properties deleted file mode 100644 index 769c099..0000000 --- a/roles/ams_0023_14.1.8.0/files/extension.system.properties +++ /dev/null @@ -1,75 +0,0 @@ -# System properties evaluated by Rola OSGi framework system extension during early OSGi framework boot phase. -# Don't set OSGi/Equinox framework properties here (use launcher.system.properties for this use case)! -# -# Support variable substitution based on system properties and environment variables. Format: ${PROPERTY_OR_ENV_KEY} -# -# Mandatory (pre-set) system properties: -# rola.frameworkconfig : Framework configuration root directory e.g. "C:\...\frameworkconfig" -# Support calculated system-properties to access framework configuration root directory: -# rola.frameworkconfig.uri : Framework configuration root directory converted to URI, e.g. "file://.../frameworkconfig/" -# rola.service.name: Rola Service Name - -# PAX Logging defaults -org.ops4j.pax.logging.DefaultServiceLog.level=OFF -org.ops4j.pax.logging.service.frameworkEventsLogLevel=DISABLED - - -# Felix fileinstall -felix.fileinstall.dir=${rola.frameworkconfig}/configadmin -felix.fileinstall.tmpdir=${rola.work.configuration}/fileinstall-tmp -felix.fileinstall.filter=.*\.cfg -felix.fileinstall.noInitialDelay=true -felix.fileinstall.poll=2000 -felix.fileinstall.enableConfigSave=false -felix.fileinstall.log.level=10 - -#Felix configadmin patch -org.apache.felix.cm.impl.enablepersistence=false - -# Logging -rola.logback.basedir=${rola.frameworkconfig}/logging -rola.logback.configfile=${rola.logback.basedir}/logback.xml -rola.logfile.path=${rola.work.configuration}/logs -rola.logfile.name=${rola.service.name} -rola.logfile.suffix=.log - -# Spring actuator support (follows configuration above) -logging.file=${rola.logfile.path}/${rola.logfile.name}${rola.logfile.suffix} - -# Rola -rola.boot.checkenv.mindiskspace=500 -# Warn for slow bean creation (ms) -com.rola.spring.context.OsgiApplicationContext.slowbeancreation: -1 - -########################################################################################## -## Vaadin related settings -## -########################################################################################## -org.atmosphere.cpr.broadcaster.maxAsyncWriteThreads=-1 - -########################################################################################## -## OSGi HTTP Service -## -## Details/Reference: -## http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html -########################################################################################## - -#org.osgi.service.http.port=8080 -#org.osgi.service.http.port.secure=8443 -org.apache.felix.http.host=0.0.0.0 -org.apache.felix.http.timeout=600000 - -org.apache.felix.http.requestlog.file.path=${rola.logfile.path}/jetty-${rola.service.name}-yyyy_mm_dd.request.log -#org.apache.felix.http.requestlog.file.async=false -org.apache.felix.http.requestlog.file.loglatency=true -org.apache.felix.http.requestlog.file.retaindays=2 - - -# HTTP session timeout in minutes (default: 120, 0=infinite) -# Documentation: http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html -org.apache.felix.http.session.timeout=120 -org.eclipse.jetty.servlet.SessionCookie=JSESSIONID -org.apache.felix.http.jetty.maxFormSize=1048576 - - - diff --git a/roles/ams_0023_14.1.8.0/files/tech.diagnostics.yaml b/roles/ams_0023_14.1.8.0/files/tech.diagnostics.yaml deleted file mode 100644 index 28dec5c..0000000 --- a/roles/ams_0023_14.1.8.0/files/tech.diagnostics.yaml +++ /dev/null @@ -1,24 +0,0 @@ -## Scope -bundle.name: com.rola.spring - -## Diagnostic endpoint and actuator security configuration -diag.security: - ## Optional username for "/diag" remote access [development default: "actuator] - #user: actuator - - ## Optional password hash for "/diag" remote access [format: passwd/htpasswd compatible, default: "actuator#1234"] - ## Generation tools e.g. openssl or mkpasswd, e.g. "openssl passwd -apr1 -salt salt hello" or "mkpasswd -m sha-256" - #password: "$6$iHta0sAPdmS$uwatLr4PTUMtRTlTZxyd5F.u.zth12FWsFhC2.gsT6JPbI7IKmcYAGWN3.BD3Zpn0.4MCt.xfMK81RKCirdbU/" - - ## Mandatory spring security access filter expression (https://docs.spring.io/spring-security/site/docs/5.0.x/reference/html/el-access.html) [default: "denyAll()"] - #access: "isAuthenticated()" - ## Other common samples for "access" expression: - #access: "isAuthenticated() and (hasIpAddress('127.0.0.1/24') or hasIpAddress('::1'))" - #access: "hasIpAddress('127.0.0.1') or hasIpAddress('::1')" - access: "permitAll()" - #access: "denyAll()" - -## Spring actuator config: enable or disable health endpoint [true|false, default: true] -management.endpoint.health.enabled: true -## Spring actuator config: configure health endpoint details [when-authorized|always|never, default: when-authorized] -management.endpoint.health.show-details: always diff --git a/roles/ams_0023_14.1.8.0/handlers/main.yml b/roles/ams_0023_14.1.8.0/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0023_14.1.8.0/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0/meta/main.yml b/roles/ams_0023_14.1.8.0/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0023_14.1.8.0/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0/tasks/main.yml b/roles/ams_0023_14.1.8.0/tasks/main.yml deleted file mode 100644 index 246f721..0000000 --- a/roles/ams_0023_14.1.8.0/tasks/main.yml +++ /dev/null @@ -1,215 +0,0 @@ ---- -#ams - - name: create folder "{{ base_dir }}" - file: - path: "{{ base_dir }}" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux" - file: - path: "{{ base_dir }}/linux" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Appserver" - file: - path: "{{ base_dir }}/linux/Appserver" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: create folder "{{ base_dir }}/linux/Services" - file: - path: "{{ base_dir }}/linux/Services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: unarchive /sw/AMS/WEB/0023_14.1.8.0_AMS/0916135740_RS-106867_0023_14.1.8.0_AMS_BW_Hotfix_Komplettlieferung/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0023_14.1.8.0_AMS/0916135740_RS-106867_0023_14.1.8.0_AMS_BW_Hotfix_Komplettlieferung/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserver/" - remote_src: yes - owner: jetty - group: dba - - - name: unarchive //sw/AMS/WEB/0023_14.1.8.0_AMS/0916135740_RS-106867_0023_14.1.8.0_AMS_BW_Hotfix_Komplettlieferung/linux/Services.tar.gz - unarchive: - src: //sw/AMS/WEB/0023_14.1.8.0_AMS/0916135740_RS-106867_0023_14.1.8.0_AMS_BW_Hotfix_Komplettlieferung/linux/Services.tar.gz - dest: "{{ base_dir }}/linux/Services/" - remote_src: yes - owner: jetty - group: dba - - - name: create folder webclient-services - file: - path: "{{ base_dir }}/linux/webclient-services" - state: directory - mode: '0755' - owner: jetty - group: dba - - - name: tar datei rsAmsBvService-14.1.6.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/webclient-services/rsAmsBvService-14.1.6.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - name: tar datei SharedComponents-14.1.6.0.tar.gz entpacken - unarchive: - src: /sw/AMS/WEB/0019_14.1.6.0_Hotfix_BW/linux/webclient-services/SharedComponents-14.1.6.0.tar.gz - dest: "{{ base_dir }}/linux/webclient-services/" - remote_src: yes - owner: jetty - group: dba - - - - name: Template file pwd_Appserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserver/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - - name: Template file pwd_ServiceIMP.xml.j2 with owner and permissions - template: - src: pwd_ServiceIMP.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - - name: Copy file rsWebserviceImp20.xml.j2 with owner and permissions - template: - src: rsWebserviceImp20.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/rsWebserviceImp20.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file rsWebserviceImp20.conf.j2 with owner and permissions - template: - src: rsWebserviceImp20.conf.j2 - dest: "{{ base_dir }}/linux/Services/service/config/rsWebserviceImp20.conf" - owner: jetty - group: dba - mode: '0644' - - - name: Template file rsAmsBvService.conf.j2 with owner and permissions - template: - src: rsAmsBvService.conf.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.6.0/service/config/rsAmsBvService.conf" - owner: jetty - group: dba - mode: '0644' - - - name: Template file tech.database.yaml.j2 with owner and permissions - template: - src: tech.database.yaml.j2 - dest: "{{ base_dir }}/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/prefs/tech.database.yaml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Appserver with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserver/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - name: Template file jetty.xml.j2 for Services with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Services/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Appserver/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserver/config/common.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy common.xml to "{{ base_dir }}/linux/Services/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Services/config/common.xml" - owner: jetty - group: dba - mode: '0644' - - - name: copy tech.diagnostics.yaml to /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/prefs/tech.diagnostics.yaml - copy: - src: tech.diagnostics.yaml - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/prefs/tech.diagnostics.yaml - owner: jetty - group: dba - mode: 0644 - - - name: copy extension.system.properties to /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/boot/extension.system.properties - copy: - src: extension.system.properties - dest: /opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/frameworkconfig/boot/extension.system.properties - owner: jetty - group: dba - mode: 0644 - - - name: Template file rsWebserviceSpAssImpVbs.xml.j2 with owner and permissions - template: - src: rsWebserviceSpAssImpVbs.xml.j2 - dest: "{{ base_dir }}/linux/Services/config/rsWebserviceSpAssImpVbs.xml" - owner: jetty - group: dba - mode: '0644' - backup: yes - - #- name: commit changes to git - #shell: | - #git add . - #git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "0023_14.1.8.0_AMS" - #exit 0 - #args: - #chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_0023_14.1.8.0/templates/jetty.xml.j2 b/roles/ams_0023_14.1.8.0/templates/jetty.xml.j2 deleted file mode 100644 index 00e98dd..0000000 --- a/roles/ams_0023_14.1.8.0/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0023_14.1.8.0/templates/pwd_Appserver.xml.j2 b/roles/ams_0023_14.1.8.0/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index 5fa0cff..0000000 --- a/roles/ams_0023_14.1.8.0/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 23.06.2021 07:39:17 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0023_14.1.8.0/templates/pwd_ServiceIMP.xml.j2 b/roles/ams_0023_14.1.8.0/templates/pwd_ServiceIMP.xml.j2 deleted file mode 100644 index 5fa0cff..0000000 --- a/roles/ams_0023_14.1.8.0/templates/pwd_ServiceIMP.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 23.06.2021 07:39:17 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} - - diff --git a/roles/ams_0023_14.1.8.0/templates/rsAmsBvService.conf.j2 b/roles/ams_0023_14.1.8.0/templates/rsAmsBvService.conf.j2 deleted file mode 100644 index eafa617..0000000 --- a/roles/ams_0023_14.1.8.0/templates/rsAmsBvService.conf.j2 +++ /dev/null @@ -1,268 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsAmsBvService -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/bvservice/rsAmsBvService_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-XX:+UseG1GC -wrapper.java.additional.6=-XX:MaxGCPauseMillis=500 -wrapper.java.additional.7=-XX:ConcGCThreads=4 -wrapper.java.additional.8=-XX:ParallelGCThreads=4 -wrapper.java.additional.9=-XX:CICompilerCount=4 -wrapper.java.additional.10=-XX:+UseStringDeduplication -# Java Parameters for general webservice HTTP access -wrapper.java.additional.11=-Dorg.apache.felix.http.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.12=-Dorg.osgi.service.http.port=7373 -#wrapper.java.additional.13=-Dorg.osgi.service.http.port.secure=8443 - -# Optional alternative config paths for rola yaml config files -#wrapper.java.additional.20=-Drola.prefs="%RS_HOME%/frameworkconfig/prefs" -wrapper.java.additional.20.stripquotes=TRUE - -# Path for rola log files -wrapper.java.additional.21=-Drola.logfile.path="{{ LOG_DIR }}/bvservice" -wrapper.java.additional.21.stripquotes=TRUE - -# Service name and type, default is the same as the config file name -# As this is used for logging filenames, only use characters [A-Za-z0-9_.] -wrapper.java.additional.22=-Drola.service.name=rsAmsBvService -wrapper.java.additional.23=-Drola.service.type=rsAmsBvService - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=128 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=webamsbv -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=webamsbv -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/bvservice/rsAmsBvService.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsAmsBvService - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsAmsBvService - -# Display name of the service -wrapper.displayname=rsAmsBvService - -# Description of the service -wrapper.description=rsAmsBvService - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0023_14.1.8.0/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0023_14.1.8.0/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index 4be5b6c..0000000 --- a/roles/ams_0023_14.1.8.0/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,290 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/appserver/rsWebserviceAppserver_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE -wrapper.java.additional.100=-Dsun.security.krb5.debug=true - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8080 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="/opt/logs/appserver/rsWebserviceAppserver-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="/opt/logs/appserver/rsWebserviceAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0023_14.1.8.0/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0023_14.1.8.0/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index c09f2cf..0000000 --- a/roles/ams_0023_14.1.8.0/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ sso_principal_name }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0023_14.1.8.0/templates/rsWebserviceImp20.conf.j2 b/roles/ams_0023_14.1.8.0/templates/rsWebserviceImp20.conf.j2 deleted file mode 100644 index 9a232b6..0000000 --- a/roles/ams_0023_14.1.8.0/templates/rsWebserviceImp20.conf.j2 +++ /dev/null @@ -1,289 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceImp20 -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="%RS_HOME%/service/log/rsWebserviceImp20_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=7272 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="%RS_HOME%/service/log/rsWebserviceImp20-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=2048 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=imp20 -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=imp20 -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.core -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.server.imp.rest.IMPRESTServlet -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceImp20.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -# wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/webservice/rsWebserviceImp20-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceImp20-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceImp20 - -# Display name of the service -wrapper.displayname=rsWebserviceImp20 - -# Description of the service -wrapper.description=rsWebserviceImp20 - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0023_14.1.8.0/templates/rsWebserviceImp20.xml.j2 b/roles/ams_0023_14.1.8.0/templates/rsWebserviceImp20.xml.j2 deleted file mode 100644 index fc4fa53..0000000 --- a/roles/ams_0023_14.1.8.0/templates/rsWebserviceImp20.xml.j2 +++ /dev/null @@ -1,484 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - JDKAHFAKFACCBPKCBHMPFDMPPFKBHGPMBLNGADAJCCMICFIIAKFKGJJBCJCBKOGFAFB - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceImp20.log - - {{ LOG_DIR }}/webservice/ - - false - - - - - - - - - - LOGIN-VERBOSE - CONNECTION - INTERFACE-COMMUNICATION - IMP-INTERFACE - XML-MAPPING - XML-OUTPUT - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübernahme aus Fremdsystem - 120 - true - false - /opt/tmp - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - - 60000 - - true - - - - - true - - - - - - - - - C:\Users\bmeise\AppData\Local\Temp\\export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0023_14.1.8.0/templates/rsWebserviceSpAssImpVbs.xml.j2 b/roles/ams_0023_14.1.8.0/templates/rsWebserviceSpAssImpVbs.xml.j2 deleted file mode 100644 index 2280299..0000000 --- a/roles/ams_0023_14.1.8.0/templates/rsWebserviceSpAssImpVbs.xml.j2 +++ /dev/null @@ -1,487 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - 1 - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceBVService.log - - {{ LOG_DIR }}/bvservice - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - polizei.bayern.de/ams?modul=vbs&amp;user=%s - - polizei.bayern.de/IGVP?modul=icm-QI2500 - - - - - polizei.bayern.de/IGVP?modul=icm-QI2500 - - polizei.bayern.de/ams?modul=vbs&amp;user=%s - - - http://localhost:8083/soapui/rest/mockservice - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - - - IF Import - - IF: Datenübernahme aus Fremdsystem - 120 - true - false - %USER_TEMP% - 60.0 - - - - 80 - - - - - - - - - - - - - - - - - 90000 - - 60000 - - true - - - - - true - - - - - - - - - %USER_TEMP%/export - rssuper - - - - - - - - - -1 - - - - - - - - IMP2_0 - - - - - - - - true - - - false - - false - - false - - - false - true - - - - - false - - - - - - true - 2000 - - - - - - - - bka.bund.de/abs - - 1000 - - 5000 - - 3 - - - - 2880 - - - 2 - - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_0023_14.1.8.0/templates/tech.database.yaml.j2 b/roles/ams_0023_14.1.8.0/templates/tech.database.yaml.j2 deleted file mode 100644 index 77fdf3c..0000000 --- a/roles/ams_0023_14.1.8.0/templates/tech.database.yaml.j2 +++ /dev/null @@ -1,41 +0,0 @@ -## Scope -bundle.name: com.rola.radium.rsframe - -database: - - rsframe: - - ## Database connection options - db-config: - ## jdbc connection string for database connection - connect-string: jdbc:oracle:thin:@//{{ ams_DatabaseIPAdress }}:{{ ams_DatabasePort }}/{{ ams_DatabaseServiceName }} - ## oracle logon username, DO NOT MODIFY - username: ROLA_SERVERUSER - ## oracle logon password - password: ASSERVATE_TOOL - ## algorithm used for jdbc checksum calculation - #checksum-type: MD5 - ## level used for jdbc checksum calculation - #checksum-level: Accepted - ## algorithm used for jdbc encryption - #encryption-type: RC4_128 - ## level used for jdbc encryption - #encryption-level: Accepted - - # Connection pool preferences. - pool: - ## Minimum size of UCP pool. - #min-pool-size: 0 - ## Maximum size of UCP pool. - #max-pool-size: 500 - - ## Database SQL related tracing options - tracing: - ## Log all queries (to log-category: "rola.database.jdbc.query" with level "DEBUG") - #enable-log-all-queries: false - ## Log params for query- and slow-query-log entires - #enable-log-params: false - ## Log all slow queries (to log-category: "rola.database.jdbc.slowquery" with level "WARN") - #enable-log-slow-queries: true - ## Slow query execution time threshold in millis - #slow-query-threshold-millis: 30000 \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0/tests/inventory b/roles/ams_0023_14.1.8.0/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0023_14.1.8.0/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0023_14.1.8.0/tests/test.yml b/roles/ams_0023_14.1.8.0/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0023_14.1.8.0/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0/vars/main.yml b/roles/ams_0023_14.1.8.0/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0023_14.1.8.0/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0_AdminServer/.travis.yml b/roles/ams_0023_14.1.8.0_AdminServer/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0_AdminServer/README.md b/roles/ams_0023_14.1.8.0_AdminServer/README.md deleted file mode 100644 index b803936..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/README.md +++ /dev/null @@ -1,44 +0,0 @@ -Role Name -========= - -Installation von AMS Software 0008_8.0.8.0 mit neuem AdminServer für die Administration. - -Durch den neuen AdminServer wurden auch die psc.sh und startALL/stopALL-Skripte angepasst bzw. neu hinzugefügt. - -Requirements ------------- - -Unterhalb von templates/ und files/ sind erforderliche Dateien. Sonst nichts. - -Role Variables --------------- - -Variablen sind innerhalb der Rolle keine vorhanden. - -Alle Variablen befinden sich unterhalb ansible/ams/group_vars/ - -Dependencies ------------- - -Vorher muss folgende Role gelaufen sein - -- ams_0008_8.0.8.0 - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_0008_8.0.8.0_AdminServer - -License -------- - -BSD - -Author Information ------------------- - -2020327 M. Gillitzer diff --git a/roles/ams_0023_14.1.8.0_AdminServer/defaults/main.yml b/roles/ams_0023_14.1.8.0_AdminServer/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/common.xml b/roles/ams_0023_14.1.8.0_AdminServer/files/common.xml deleted file mode 100644 index 31a3555..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/common.xml +++ /dev/null @@ -1,73 +0,0 @@ - - - - false - - 1 - - - 30 - - - - - - - - - - - - - - - - Accepted - MD5 - Accepted - - AES256 - - LOAD_BALANCE - - - - - 120 - - 1 - - - - - 5 - - - - - - - - - - - - - - - - - - - - - - - - - false - - - - - diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/psc.sh b/roles/ams_0023_14.1.8.0_AdminServer/files/psc.sh deleted file mode 100755 index dd65f82..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/psc.sh +++ /dev/null @@ -1,57 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -APPS="DOWN" -else -APPS=$(cat $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status) -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -APPSADMIN="DOWN" -else -APPSADMIN=$(cat $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status) -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -WEBS="DOWN" -else -WEBS=$(cat $AMSHOME/linux/Services/service/rsWebserviceImp20.status) -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -BVS="DOWN" -else -BVS=$(cat $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status) -fi -#Anzeige - -printf "\n \e[33m\t\t\tAppserver und Services\e[0m \n\n\n" -if [[ $APPS = "STARTED" ]] -then -printf "\t\tAppserver\t\e[32m%s\e[0m \n\n\n" "$APPS" -else -printf "\t\tAppserver\t\e[31m%s\e[0m \n\n\n" "$APPS" -fi -if [[ $APPSADMIN = "STARTED" ]] -then -printf "\t\tAppserveradmin\t\e[32m%s\e[0m \n\n\n" "$APPSADMIN" -else -printf "\t\tAppserveradmin\t\e[31m%s\e[0m \n\n\n" "$APPSADMIN" -fi -if [[ $WEBS = "STARTED" ]] -then -printf "\t\tWebservice\t\e[32m%s\e[0m \n\n\n" "$WEBS" -else -printf "\t\tWebservice\t\e[31m%s\e[0m \n\n\n" "$WEBS" -fi -if [[ $BVS = "STARTED" ]] -then -printf "\t\tBV-Service\t\e[32m%s\e[0m \n\n\n" "$BVS" -else -printf "\t\tBV-Service\t\e[31m%s\e[0m \n\n\n" "$BVS" -fi diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/startALL b/roles/ams_0023_14.1.8.0_AdminServer/files/startALL deleted file mode 100755 index d36e062..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/startALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh start; -fi -#Check for Appserveradmin -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/startALLwoa b/roles/ams_0023_14.1.8.0_AdminServer/files/startALLwoa deleted file mode 100755 index 376b316..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/startALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -#Check for Webservice -if [ -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice is already running!" -else -/opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start; -fi -#Check for BV-Service -if [ -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service is already running!" -else -/opt/rola/ams/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh start; -fi - -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/startadmin b/roles/ams_0023_14.1.8.0_AdminServer/files/startadmin deleted file mode 100755 index 9ca3a48..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/startadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin is already running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/startapps b/roles/ams_0023_14.1.8.0_AdminServer/files/startapps deleted file mode 100755 index f0e6a76..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/startapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver is already running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh start; -fi -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/stopALL b/roles/ams_0023_14.1.8.0_AdminServer/files/stopALL deleted file mode 100755 index dee4593..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/stopALL +++ /dev/null @@ -1,31 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh stop; -fi -#Check for Appserveradmin -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserveradmin not running!" -else -$AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/stopALLwoa b/roles/ams_0023_14.1.8.0_AdminServer/files/stopALLwoa deleted file mode 100755 index a9be9ed..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/stopALLwoa +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" -#Check for Appserver -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -$AMSHOME/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -#Check for Webservice -if [ ! -f $AMSHOME/linux/Services/service/rsWebserviceImp20.status ] -then -echo "Webservice not running!" -else -$AMSHOME/linux/Services/service/rsWebserviceImp20.sh stop; -fi -#Check for BV-Service -if [ ! -f $AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.status ] -then -echo "BV-Service not running!" -else -$AMSHOME/linux/webclient-services/rsAmsBvService-14.1.6.0/service/rsAmsBvService.sh stop; -fi - -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/stopadmin b/roles/ams_0023_14.1.8.0_AdminServer/files/stopadmin deleted file mode 100755 index 7e332b4..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/stopadmin +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserveradmin/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserveradmin/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/files/stopapps b/roles/ams_0023_14.1.8.0_AdminServer/files/stopapps deleted file mode 100755 index 8a24131..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/files/stopapps +++ /dev/null @@ -1,10 +0,0 @@ -#!/usr/bin/bash -AMSHOME="/opt/rola/ams" - -if [ ! -f $AMSHOME/linux/Appserver/service/rsWebserviceAppserver.status ] -then -echo "Appserver not running!" -else -/opt/rola/ams/linux/Appserver/service/rsWebserviceAppserver.sh stop; -fi -./psc.sh diff --git a/roles/ams_0023_14.1.8.0_AdminServer/handlers/main.yml b/roles/ams_0023_14.1.8.0_AdminServer/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0_AdminServer/meta/main.yml b/roles/ams_0023_14.1.8.0_AdminServer/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0_AdminServer/tasks/main.yml b/roles/ams_0023_14.1.8.0_AdminServer/tasks/main.yml deleted file mode 100644 index 3713fef..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/tasks/main.yml +++ /dev/null @@ -1,167 +0,0 @@ ---- - - name: create folder "{{ base_dir }}/linux/Appserveradmin" - file: - path: "{{ base_dir }}/linux/Appserveradmin" - state: directory - mode: '0755' - owner: jetty - group: dba - tags: appserveradmin - - - name: unarchive /sw/AMS/WEB/0023_14.1.8.0_AMS/0916135740_RS-106867_0023_14.1.8.0_AMS_BW_Hotfix_Komplettlieferung/linux/Appserver.tar.gz - unarchive: - src: /sw/AMS/WEB/0023_14.1.8.0_AMS/0916135740_RS-106867_0023_14.1.8.0_AMS_BW_Hotfix_Komplettlieferung/linux/Appserver.tar.gz - dest: "{{ base_dir }}/linux/Appserveradmin/" - remote_src: yes - owner: jetty - group: dba - tags: appserveradmin - - - name: copy common.xml to "{{ base_dir }}/linux/Appserveradmin/config" - copy: - src: common.xml - dest: "{{ base_dir }}/linux/Appserveradmin/config/common.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Create a file /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log if it does not exist - file: - path: /opt/logs/appserveradmin/rsWebserviceAppserver-servicewrapper.log - state: touch - mode: '0644' - owner: jetty - group: dba - tags: appserveradmin - - - name: Template file pwdAppserver.xml.j2 with owner and permissions - template: - src: pwd_Appserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/pwd.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - template: - src: rsWebserviceAppserver.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/config/rsWebserviceAppserver.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file rsWebserviceAppserver.conf.j2 to "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - template: - src: rsWebserviceAppserver.conf.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/service/config/rsWebserviceAppserver.conf" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Template file jetty.xml.j2 for Appserveradmin with owner and permissions - template: - src: jetty.xml.j2 - dest: "{{ base_dir }}/linux/Appserveradmin/frameworkconfig/jetty_home/etc/jetty.xml" - owner: jetty - group: dba - mode: '0644' - tags: appserveradmin - - - name: Copy file psc.sh for Appserveradmin with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startadmin for Appserveradmin with owner and permissions - copy: - src: ./files/startadmin - dest: /home/jetty/startadmin - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startALL for Appserveradmin with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/startALLwoa - dest: /home/jetty/startALLwoa - owner: jetty - group: dba - mode: '0755' - - - name: Copy file startapps for Appserveradmin with owner and permissions - copy: - src: ./files/startapps - dest: /home/jetty/startapps - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopadmin for Appserveradmin with owner and permissions - copy: - src: ./files/stopadmin - dest: /home/jetty/stopadmin - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopALL for Appserveradmin with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopALLwoa for Appserveradmin with owner and permissions - copy: - src: ./files/stopALLwoa - dest: /home/jetty/stopALLwoa - owner: jetty - group: dba - mode: '0755' - - - name: Copy file stopapps for Appserveradmin with owner and permissions - copy: - src: ./files/stopapps - dest: /home/jetty/stopapps - owner: jetty - group: dba - mode: '0755' - - - name: commit changes to git - shell: | - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "0023_14.1.8.0_AdminServer" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - diff --git a/roles/ams_0023_14.1.8.0_AdminServer/templates/jetty.xml.j2 b/roles/ams_0023_14.1.8.0_AdminServer/templates/jetty.xml.j2 deleted file mode 100644 index b986e93..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/templates/jetty.xml.j2 +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - - - - - - - - - - - - - - - 10 - 200 - - - - - - - - - - - - - - - - - - - - https - - 32768 - 8192 - 8192 - true - false - 512 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ACCESS_LOG }}/jetty_admin-yyyy_mm_dd.request.log - 30 - true - false - GMT - - - - - - - - - false - 30000 - false - false - - - - - - java.naming.factory.initial - - - - java.naming.factory.url.pkgs - - - - - - - - - - - - - - rola/config - [DEFAULT] - true - - - - - - - - - - - - - - - diff --git a/roles/ams_0023_14.1.8.0_AdminServer/templates/pwd_Appserver.xml.j2 b/roles/ams_0023_14.1.8.0_AdminServer/templates/pwd_Appserver.xml.j2 deleted file mode 100644 index f25b964..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/templates/pwd_Appserver.xml.j2 +++ /dev/null @@ -1,22 +0,0 @@ - - - - 16.09.2021 14:02:44 - - AMS - - - - 1 - - {{ ams_DatabaseIPAdress }} - - {{ ams_DatabasePort }} - - {{ ams_DatabaseServiceName }} - - CCDNIBPNNMPMLCNKEHNCHEKDHFECHDNDIANDLKJAHCOAMEHHGEMPLEMDHLHKHEIBMIF - - {{ ams_DatabaseName }} ADMIN - - diff --git a/roles/ams_0023_14.1.8.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 b/roles/ams_0023_14.1.8.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 deleted file mode 100644 index 95fcca1..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/templates/rsWebserviceAppserver.conf.j2 +++ /dev/null @@ -1,289 +0,0 @@ -#encoding=UTF-8 -#******************************************************************** -# -# Service configuration file rsWebserviceAppserver -# -#******************************************************************** -# -#******************************************************************** -# Wrapper License Properties -#******************************************************************** -# Include file problems can be debugged by leaving only one '#' -# at the beginning of the following line: -##include.debug -#include %SHARED_HOME%/foundation/servicewrapper/license/wrapper-license-rsFRAME.conf - -# The following property will output information about which License Key(s) -# are being found, and can aid in resolving any licensing problems. -#wrapper.license.debug=TRUE - -#******************************************************************** -# Wrapper Localization -#******************************************************************** -# Specify the language and locale which the Wrapper should use. -#wrapper.lang=en_US # en_US or ja_JP - -# Specify the location of the language resource files (*.mo). -wrapper.lang.folder=../lang - -#******************************************************************** -# Wrapper Java Properties -#******************************************************************** -# Java Application -wrapper.java.command=%JRE_HOME%/bin/java - -# Tell the Wrapper to log the full generated Java command line. -#wrapper.java.command.loglevel=INFO - -# Java Main class. This class must implement the WrapperListener interface -# or guarantee that the WrapperManager class is initialized. Helper -# classes are provided to do this for you. -# See the following page for details: -# http://wrapper.tanukisoftware.com/doc/english/integrate.html -wrapper.java.mainclass=com.rola.rscase.application.ServiceWrapperListener - -# Java Classpath (include wrapper.jar) Add class path elements as -# needed starting from 1 -wrapper.java.classpath.1=%SERVICE_HOME%/lib/wrapper.jar -wrapper.java.classpath.2=%SHARED_HOME%/com.rola.launcher.jar - -# Java Library Path (location of Wrapper.DLL or libwrapper.so) -wrapper.java.library.path.1=%SERVICE_HOME%/lib -wrapper.java.library.path.2=%SHARED_HOME%/native -wrapper.java.library.path.3=%SHARED_HOME%/native/%WRAPPER_BITS% -wrapper.java.library.path.4=%WINDIR%/SYSTEM32 - -# Set system path -set.PATH=%SHARED_HOME%/native%WRAPPER_PATH_SEPARATOR%%SHARED_HOME%/native/%WRAPPER_BITS%%WRAPPER_PATH_SEPARATOR%%PATH% - -# Java Bits. On applicable platforms, tells the JVM to run in 32 or 64-bit mode. -wrapper.java.additional.auto_bits=TRUE - -# Java Additional Parameters -wrapper.java.additional.1=-server -wrapper.java.additional.2=-XX:ErrorFile="/opt/logs/appserver/rsWebserviceAppserverAdmin_hs_err_pid%p.log" -wrapper.java.additional.2.stripquotes=TRUE -wrapper.java.additional.3=-Djava.io.tmpdir="%TEMP%" -wrapper.java.additional.3.stripquotes=TRUE -wrapper.java.additional.4=-XX:+DisableAttachMechanism -wrapper.java.additional.5=-Drola.config="%SHARED_HOME%/config" -wrapper.java.additional.5.stripquotes=TRUE - -# Java Parameters for general webservice HTTP access -wrapper.java.additional.6=-Djetty.host={{ ansible_facts['default_ipv4']['address'] }} -wrapper.java.additional.7=-Djetty.port=8181 - -# List of paths/directories to "overlay" the standard configuration files separated by comma ",". -# File contents are merged. -# Default: %RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec -#wrapper.java.additional.8=-Drola.config.overlay.paths="%RS_HOME%/config/overlay-tech,%RS_HOME%/config/overlay-spec" -wrapper.java.additional.8.stripquotes=TRUE -# enable debug information for error analysis in config overlay -#wrapper.java.additional.9=-Drola.config.overlay.debug=true - -# Java parameters for secure webservice access via HTTPs (e.g. AIF) -#wrapper.java.additional.10=-Djavax.net.ssl.keyStore= -#wrapper.java.additional.11=-Djavax.net.ssl.keyStoreType=JKS -#wrapper.java.additional.12=-Djavax.net.ssl.keyStorePassword= -#wrapper.java.additional.13=-Djavax.net.ssl.trustStore= -#wrapper.java.additional.14=-Djavax.net.ssl.trustStoreType=JKS -#wrapper.java.additional.15=-Djavax.net.ssl.trustStorePassword= - -# Optional Jetty SSL configuration -# example for default web server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc/jetty-ssl.xml,etc/jetty-https.xml -# example for application server -#wrapper.java.additional.20=-Djetty.etc.config.urls=etc/jetty.xml,etc/jetty-deployer.xml,etc-appserver/jetty-ssl.xml,etc-appserver/jetty-https.xml - -#wrapper.java.additional.21=-Djetty.https.host= -#wrapper.java.additional.22=-Djetty.https.port=443 -#wrapper.java.additional.23=-Djetty.logdir="/opt/logs/appserver/rsWebserviceAppserverAdmin-jetty/" -#wrapper.java.additional.23.stripquotes=TRUE - -#Activate UTF-8 support for gss kerberos authentication. -wrapper.java.additional.26=-Dsun.security.krb5.msinterop.kstring=true - -wrapper.java.additional.30=-Djava.awt.headless=true - -# Initial Java Heap Size (in MB) -wrapper.java.initmemory=1024 - -# Maximum Java Heap Size (in MB) -wrapper.java.maxmemory=2048 - -# Service parameters: -# 1-19. parameter: OSGi and framework parameters -# 20-n. parameter: further start parameters for rsFRAME service (optional, e.g. configfile) - -wrapper.app.parameter.1=-osgiUserWorkDir -wrapper.app.parameter.2="%TEMP%" -wrapper.app.parameter.2.stripquotes=TRUE -wrapper.app.parameter.3=-osgiConfiguration -wrapper.app.parameter.4=appserver -wrapper.app.parameter.5=-osgiRoot -wrapper.app.parameter.6="%SHARED_HOME%" -wrapper.app.parameter.6.stripquotes=TRUE -wrapper.app.parameter.7=-osgiFrameworkConfigDir -wrapper.app.parameter.8="%RS_HOME%/frameworkconfig" -wrapper.app.parameter.8.stripquotes=TRUE -wrapper.app.parameter.9=-startprofileset -wrapper.app.parameter.10=appserver -wrapper.app.parameter.11=-serviceSpecificationBundle -wrapper.app.parameter.12=com.rola.rsframe.module.appserver -wrapper.app.parameter.13=-serviceSpecificationClass -wrapper.app.parameter.14=com.rola.rsframe.module.appserver.specifications.AppserverServiceSpecification -#Verbose output for osgi launcher -#wrapper.app.parameter.19=-osgiVerbose -wrapper.app.parameter.20=/configfile="%RS_HOME%/config/rsWebserviceAppserver.xml" -wrapper.app.parameter.20.stripquotes=TRUE - -#******************************************************************** -# Wrapper Logging Properties -#******************************************************************** -# Enables Debug output from the Wrapper. -wrapper.debug=TRUE - -# Format of output for the console. (See docs for formats) -wrapper.console.format=PM - -# Log Level for console output. (See docs for log levels) -wrapper.console.loglevel=STATUS - -# Log file to use for wrapper output logging. -wrapper.logfile="{{ LOG_DIR }}/appserveradmin/rsWebserviceAdminAppserver-servicewrapper.log" - -# Format of output for the log file. (See docs for formats) -wrapper.logfile.format=LPTM - -# Log Level for log file output. (See docs for log levels) -wrapper.logfile.loglevel={{ ams_LogLevel }} - -# Maximum size that the log file will be allowed to grow to before -# the log is rolled. Size is specified in bytes. The default value -# of 0, disables log rolling. May abbreviate with the 'k' (kb) or -# 'm' (mb) suffix. For example: 10m = 10 megabytes. -wrapper.logfile.maxsize=10m - -# Maximum number of rolled log files which will be allowed before old -# files are deleted. The default value of 0 implies no limit. -wrapper.logfile.maxfiles=30 - -# Log Level for sys/event log output. (See docs for log levels) -wrapper.syslog.loglevel=ERROR - -#******************************************************************** -# Wrapper General Properties -#******************************************************************** -# Set the working directory to the RS-Home directory -wrapper.working.dir=%RS_HOME% - -# Allow for the use of non-contiguous numbered properties -wrapper.ignore_sequence_gaps=TRUE - -# Do not start if the pid file already exists. -#wrapper.pidfile.strict=TRUE - -# Title to use when running as a console -wrapper.console.title=rsWebserviceAppserver-Service - -#******************************************************************** -# Wrapper JVM Checks -#******************************************************************** -# Detect DeadLocked Threads in the JVM. (Requires Standard Edition) -wrapper.check.deadlock=TRUE -wrapper.check.deadlock.interval=60 -wrapper.check.deadlock.action=RESTART -wrapper.check.deadlock.output=FULL - -# Out Of Memory detection. -# Ignore -verbose:class output to avoid false positives. -wrapper.filter.trigger.1000=[Loaded java.lang.OutOfMemoryError -wrapper.filter.action.1000=NONE -# (Simple match) -wrapper.filter.trigger.1001=java.lang.OutOfMemoryError -# (Only match text in stack traces if -XX:+PrintClassHistogram is being used.) -#wrapper.filter.trigger.1001=Exception in thread "*" java.lang.OutOfMemoryError -#wrapper.filter.allow_wildcards.1001=TRUE -wrapper.filter.action.1001=RESTART -wrapper.filter.message.1001=The JVM has run out of memory. - -#******************************************************************** -# Wrapper Email Notifications. (Requires Professional Edition) -#******************************************************************** -# Common Event Email settings. -#wrapper.event.default.email.debug=TRUE -#wrapper.event.default.email.smtp.host= -#wrapper.event.default.email.smtp.port=25 -#wrapper.event.default.email.subject=[%WRAPPER_HOSTNAME%:%WRAPPER_NAME%:%WRAPPER_EVENT_NAME%] Event Notification -#wrapper.event.default.email.sender= -#wrapper.event.default.email.recipient= - - -# Restart behaviour depending on exit code -# Service exited with bad result (exit code != 0) -wrapper.on_exit.default=RESTART - -# Service exited with good result (exit code = 0) -wrapper.on_exit.0=SHUTDOWN - -# Number of seconds to allow between the time that the JVM reports that it is stopped -# and the time that the JVM process actually terminates (e.g. termination of pending threads) -wrapper.jvm_exit.timeout=30 - -# Delay service restart for number of seconds -wrapper.restart.delay=15 - -#******************************************************************** -# Wrapper Windows Service Properties -#******************************************************************** -# WARNING - Do not modify any of these properties when an application -# using this configuration file has been installed as a service. -# Please uninstall the service before modifying this section. The -# service can then be reinstalled. - -# Name of the service -wrapper.name=rsWebserviceAppserver - -# Display name of the service -wrapper.displayname=rsWebserviceAppserver - -# Description of the service -wrapper.description=rsWebserviceAppserver - -# Service dependencies. Add dependencies as needed starting from 1 -wrapper.ntservice.dependency.1= - -# Mode in which the service is installed. AUTO_START, DELAY_START or DEMAND_START -wrapper.ntservice.starttype=AUTO_START - -# Allow the service to interact with the desktop (Windows NT/2000/XP only). -wrapper.ntservice.interactive=FALSE - -# Automatically restart the service periodically -#wrapper.timer.1.action=RESTART -#wrapper.timer.1.interval=hour=24 - -# Configure the log attached to event emails. -#wrapper.event.default.email.maillog=ATTACHMENT -#wrapper.event.default.email.maillog.lines=50 -#wrapper.event.default.email.maillog.format=LPTM -#wrapper.event.default.email.maillog.loglevel=INFO - -# Enable specific event emails. -#wrapper.event.wrapper_start.email=TRUE -#wrapper.event.jvm_prelaunch.email=TRUE -#wrapper.event.jvm_start.email=TRUE -#wrapper.event.jvm_started.email=TRUE -#wrapper.event.jvm_deadlock.email=TRUE -#wrapper.event.jvm_stop.email=TRUE -#wrapper.event.jvm_stopped.email=TRUE -#wrapper.event.jvm_restart.email=TRUE -#wrapper.event.jvm_failed_invocation.email=TRUE -#wrapper.event.jvm_max_failed_invocations.email=TRUE -#wrapper.event.jvm_kill.email=TRUE -#wrapper.event.jvm_killed.email=TRUE -#wrapper.event.jvm_unexpected_exit.email=TRUE -#wrapper.event.wrapper_stop.email=TRUE - -# Specify custom mail content -#wrapper.event.jvm_restart.email.body=The JVM was restarted.\n\nPlease check on its status.\n diff --git a/roles/ams_0023_14.1.8.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_0023_14.1.8.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index e298d0f..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,322 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - JDKAHFAKFACCBPKCBHMPFDMPPFKBHGPMBLNGADAJCCMICFIIAKFKGJJBCJCBKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - 5 - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - - - - - - - - - - true - - HIGH - - - STANDARD - - MON1 - - false - - false - - 10888 - - - - - - - - -1 - - -1 - - false - - false - - false - - true - - - - - - false - - - - - - -1 - - - - -1 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_0023_14.1.8.0_AdminServer/tests/inventory b/roles/ams_0023_14.1.8.0_AdminServer/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_0023_14.1.8.0_AdminServer/tests/test.yml b/roles/ams_0023_14.1.8.0_AdminServer/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_0023_14.1.8.0_AdminServer/vars/main.yml b/roles/ams_0023_14.1.8.0_AdminServer/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_0023_14.1.8.0_AdminServer/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_sso/.travis.yml b/roles/ams_sso/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_sso/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_sso/README.md b/roles/ams_sso/README.md deleted file mode 100644 index 72f9bbc..0000000 --- a/roles/ams_sso/README.md +++ /dev/null @@ -1,42 +0,0 @@ -Role Name -========= - -Installiert Single-Sign-On - -Requirements ------------- - -Folgende Role muss vorher installiert sein. - -- ams_0013_8.0.9.0 - -Role Variables --------------- - -Keine. - -Dependencies ------------- - -Folgende Role muss vorher installiert sein. - -- ams_0013_8.0.9.0 - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - ams_sso - -License -------- - -BSD - -Author Information ------------------- - -Marcus Gillitzer, 20200406 diff --git a/roles/ams_sso/defaults/main.yml b/roles/ams_sso/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_sso/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_sso/files/epolsa5069bit03_krb5.keytab b/roles/ams_sso/files/epolsa5069bit03_krb5.keytab deleted file mode 100644 index 221b162..0000000 Binary files a/roles/ams_sso/files/epolsa5069bit03_krb5.keytab and /dev/null differ diff --git a/roles/ams_sso/files/epolsa5073bit03_krb5.keytab b/roles/ams_sso/files/epolsa5073bit03_krb5.keytab deleted file mode 100644 index 9ae969b..0000000 Binary files a/roles/ams_sso/files/epolsa5073bit03_krb5.keytab and /dev/null differ diff --git a/roles/ams_sso/files/krb5.conf_devel b/roles/ams_sso/files/krb5.conf_devel deleted file mode 100644 index 6410c6a..0000000 --- a/roles/ams_sso/files/krb5.conf_devel +++ /dev/null @@ -1,35 +0,0 @@ -# Configuration snippets may be placed in this directory as well -includedir /etc/krb5.conf.d/ - -[logging] - default = FILE:/var/log/krb5libs.log - kdc = FILE:/var/log/krb5kdc.log - admin_server = FILE:/var/log/kadmind.log - -[libdefaults] - dns_lookup_realm = true - dns_lookup_kdc = false - kdc_timeout = 5sec - ticket_lifetime = 24h - renew_lifetime = 7d - forwardable = true - rdns = false - pkinit_anchors = /etc/pki/tls/certs/ca-bundle.crt - default_realm = TPOLIZEI-BW.DE - default_ccache_name = KEYRING:persistent:%{uid} - -[realms] - TPOLIZEI-BW.DE = { -#kdc = tpolizei-bw.de - kdc = 80.158.1.51:88 - kdc = 80.158.1.52:88 - kdc = 80.158.1.53:88 - - default_domain = TPOLIZEI-BW.DE -# admin_server = tpolizei-bw.de -admin_server = 80.158.1.51:88 - } - -[domain_realm] -.tpolizei-bw.de = TPOLIZEI-BW.DE -tpolizei-bw.de = TPOLIZEI-BW.DE diff --git a/roles/ams_sso/files/krb5.conf_prod b/roles/ams_sso/files/krb5.conf_prod deleted file mode 100644 index e99cf1e..0000000 --- a/roles/ams_sso/files/krb5.conf_prod +++ /dev/null @@ -1,38 +0,0 @@ -# Configuration snippets may be placed in this directory as well -includedir /etc/krb5.conf.d/ - -[logging] - default = FILE:/var/log/krb5libs.log - kdc = FILE:/var/log/krb5kdc.log - admin_server = FILE:/var/log/kadmind.log - -[libdefaults] - dns_lookup_realm = false - dns_lookup_kdc = false - kdc_timeout = 5sec - ticket_lifetime = 24h - renew_lifetime = 7d - forwardable = true - #rdns = false - pkinit_anchors = /etc/pki/tls/certs/ca-bundle.crt - default_realm = POLIZEI-BW.NET - default_ccache_name = KEYRING:persistent:%{uid} - -[realms] - POLIZEI-BW.NET = { - #kdc = polizei-bw.net -kdc = 80.155.1.87:88 -kdc = 80.155.1.187:88 -kdc = 80.155.1.89:88 -kdc = 80.155.1.189:88 -kdc = 80.155.1.91:88 -kdc = 80.155.1.191:88 -kdc = 80.155.1.92:88 -kdc = 80.155.1.192:88 - default_domain = POLIZEI-BW.NET - admin_server = 80.155.1.87:88 -} - -[domain_realm] -.polizei-bw.net = POLIZEI-BW.NET -polizei-bw.net = POLIZEI-BW.NET diff --git a/roles/ams_sso/files/polsa5079bit03_krb5.keytab b/roles/ams_sso/files/polsa5079bit03_krb5.keytab deleted file mode 100644 index 61b2f15..0000000 Binary files a/roles/ams_sso/files/polsa5079bit03_krb5.keytab and /dev/null differ diff --git a/roles/ams_sso/files/polsa5079stu02_krb5.keytab b/roles/ams_sso/files/polsa5079stu02_krb5.keytab deleted file mode 100644 index f8be616..0000000 Binary files a/roles/ams_sso/files/polsa5079stu02_krb5.keytab and /dev/null differ diff --git a/roles/ams_sso/files/spolsa5069stu02_krb5.keytab b/roles/ams_sso/files/spolsa5069stu02_krb5.keytab deleted file mode 100644 index 9335ba8..0000000 Binary files a/roles/ams_sso/files/spolsa5069stu02_krb5.keytab and /dev/null differ diff --git a/roles/ams_sso/files/sshd_config b/roles/ams_sso/files/sshd_config deleted file mode 100644 index 4aa34d8..0000000 --- a/roles/ams_sso/files/sshd_config +++ /dev/null @@ -1,149 +0,0 @@ -UseDNS no -# $OpenBSD: sshd_config,v 1.100 2016/08/15 12:32:04 naddy Exp $ - -# This is the sshd server system-wide configuration file. See -# sshd_config(5) for more information. - -# This sshd was compiled with PATH=/usr/local/bin:/usr/bin - -# The strategy used for options in the default sshd_config shipped with -# OpenSSH is to specify options with their default value where -# possible, but leave them commented. Uncommented options override the -# default value. - -# If you want to change the port on a SELinux system, you have to tell -# SELinux about this change. -# semanage port -a -t ssh_port_t -p tcp #PORTNUMBER -# -#Port 22 -#AddressFamily any -#ListenAddress 0.0.0.0 -#ListenAddress :: - -HostKey /etc/ssh/ssh_host_rsa_key -#HostKey /etc/ssh/ssh_host_dsa_key -HostKey /etc/ssh/ssh_host_ecdsa_key -HostKey /etc/ssh/ssh_host_ed25519_key - -# Ciphers and keying -#RekeyLimit default none - -# Logging -#SyslogFacility AUTH -SyslogFacility AUTHPRIV -#LogLevel INFO - -# Authentication: - -#LoginGraceTime 2m -PermitRootLogin yes -#StrictModes yes -#MaxAuthTries 6 -#MaxSessions 10 - -#PubkeyAuthentication yes - -# The default is to check both .ssh/authorized_keys and .ssh/authorized_keys2 -# but this is overridden so installations will only check .ssh/authorized_keys -AuthorizedKeysFile .ssh/authorized_keys - -#AuthorizedPrincipalsFile none - -#AuthorizedKeysCommand none -#AuthorizedKeysCommandUser nobody - -# For this to work you will also need host keys in /etc/ssh/ssh_known_hosts -#HostbasedAuthentication no -# Change to yes if you don't trust ~/.ssh/known_hosts for -# HostbasedAuthentication -#IgnoreUserKnownHosts no -# Don't read the user's ~/.rhosts and ~/.shosts files -#IgnoreRhosts yes - -# To disable tunneled clear text passwords, change to no here! -#PasswordAuthentication yes -#PermitEmptyPasswords no -PasswordAuthentication no - -# Change to no to disable s/key passwords -#ChallengeResponseAuthentication yes -ChallengeResponseAuthentication no - -# Kerberos options -#KerberosAuthentication no -#KerberosOrLocalPasswd yes -#KerberosTicketCleanup yes -#KerberosGetAFSToken no -#KerberosUseKuserok yes - -# GSSAPI options -GSSAPIAuthentication yes -GSSAPICleanupCredentials yes -#GSSAPIStrictAcceptorCheck yes -#GSSAPIKeyExchange no -#GSSAPIEnablek5users no - -# Set this to 'yes' to enable PAM authentication, account processing, -# and session processing. If this is enabled, PAM authentication will -# be allowed through the ChallengeResponseAuthentication and -# PasswordAuthentication. Depending on your PAM configuration, -# PAM authentication via ChallengeResponseAuthentication may bypass -# the setting of "PermitRootLogin without-password". -# If you just want the PAM account and session checks to run without -# PAM authentication, then enable this but set PasswordAuthentication -# and ChallengeResponseAuthentication to 'no'. -# WARNING: 'UsePAM no' is not supported in Red Hat Enterprise Linux and may cause several -# problems. -UsePAM yes - -#AllowAgentForwarding yes -#AllowTcpForwarding yes -#GatewayPorts no -X11Forwarding yes -X11DisplayOffset 10 -X11UseLocalhost no -#PermitTTY yes -#PrintMotd yes -#PrintLastLog yes -#TCPKeepAlive yes -#UseLogin no -#UsePrivilegeSeparation sandbox -#PermitUserEnvironment no -#Compression delayed -#ClientAliveInterval 0 -#ClientAliveCountMax 3 -#ShowPatchLevel no -#UseDNS yes -#PidFile /var/run/sshd.pid -#MaxStartups 10:30:100 -#PermitTunnel no -#ChrootDirectory none -#VersionAddendum none - -# no default banner path -#Banner none - -# Accept locale-related environment variables -AcceptEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES -AcceptEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT -AcceptEnv LC_IDENTIFICATION LC_ALL LANGUAGE -AcceptEnv XMODIFIERS - -# override default of no subsystems -Subsystem sftp /usr/libexec/openssh/sftp-server - -# Example of overriding settings on a per-user basis -#Match User anoncvs -# X11Forwarding no -# AllowTcpForwarding no -# PermitTTY no -# ForceCommand cvs server -# BEGIN ANSIBLE MANAGED BLOCK -Match Address 80.155.207.67,83.140.129.99 - PasswordAuthentication yes - PermitRootLogin yes -# END ANSIBLE MANAGED BLOCK -# BEGIN ANSIBLE-ROLE: config-ssh-remoteuser -Match User remote - AuthenticationMethods publickey -# END ANSIBLE-ROLE: config-ssh-remoteuser diff --git a/roles/ams_sso/handlers/main.yml b/roles/ams_sso/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_sso/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_sso/meta/main.yml b/roles/ams_sso/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_sso/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_sso/tasks/main.yml b/roles/ams_sso/tasks/main.yml deleted file mode 100644 index 3d72995..0000000 --- a/roles/ams_sso/tasks/main.yml +++ /dev/null @@ -1,144 +0,0 @@ ---- -## - - name: debug - debug: - var: ansible_facts - - - name: debug - debug: - var: ansible_fqdn -##prüfen ob die erforderliche Software installiert ist - - name: ensure software krb5-workstation and krb5-libs are installed - become_user: root - become: yes - yum: - name: - - krb5-workstation - - krb5-libs - state: present - disable_gpg_check: yes - - -##muss noch geklärt werden ob erforderlich -##BitBW hat zudem Änderungen an dem File vorgenommen -##daher u.U. BitBW noch informieren - #- name: Copy file sshd_config with owner and permissions - #become_user: root - #become: yes - #copy: - #src: ./files/sshd_config - #dest: /etc/ssh/sshd_config - #owner: root - #group: root - #mode: '0600' - - #- name: Template file ssh_config with owner and permissions - #become_user: root - #become: yes - #template: - #src: ./templates/ssh_config.j2 - #dest: /etc/ssh/ssh_config - #owner: root - #group: root - #mode: '0644' - #backup: yes - - - name: copy File remote from ./files/{{ ansible_hostname }}_krb5.keytab to /etc - become_user: root - become: yes - copy: - src: ./files/{{ ansible_hostname }}_krb5.keytab - dest: /etc/krb5.keytab - owner: root - group: root - mode: '0644' - backup: yes - - - name: copy File krb5.conf_devel /etc - become_user: root - become: yes - copy: - src: krb5.conf_devel - dest: /etc/krb5.conf - owner: root - group: root - mode: '0644' - backup: yes - when: ansible_fqdn == 'epolsa5069bit03.tpolizei-bw.de' or ansible_fqdn == 'epolsa5073bit03.tpolizei-bw.de' - - - - name: copy File krb5.conf_prod /etc - become_user: root - become: yes - copy: - src: krb5.conf_prod - dest: /etc/krb5.conf - owner: root - group: root - mode: '0644' - backup: yes - when: ansible_fqdn == 'polsa5079bit03.polizei-bw.net' or ansible_fqdn == 'polsa5079stu02.polizei-bw.net' or ansible_fqdn == 'polsa5069stu02.spolizei-bw.edu' - - - - - #- name: Template file rsWebserviceAppserver.xml.j2 with owner and permissions - #template: - #src: ./templates/rsWebserviceAppserver.xml.j2 - #dest: /opt/rola/ams/linux/Appserver/config/rsWebserviceAppserver.xml - #owner: jetty - #group: dba - #mode: '0644' - #- name: Template file rsWebserviceAppserverAdmin.xml.j2 with owner and permissions - #template: - #src: ./templates/rsWebserviceAppserverAdmin.xml.j2 - #dest: /opt/rola/ams/linux/Appserveradmin/config/rsWebserviceAppserver.xml - #owner: jetty - #group: dba - #mode: '0644' - - name: Kdestroy zum löschen der alten Verbindung - command: /usr/bin/kdestroy - become: yes - become_user: root - - name: Kinit zum erstellen der erstmaligen Verbindung - become: yes - become_user: root - command: /usr/bin/kinit -k HOST/{{ ansible_fqdn }}@{{ sso_domain_upper }} - - - name: commit changes to git - shell: | - git add . - git -c user.name='Ansible Playbook' -c user.email='ansible@playbook' commit -m "ams_sso" - exit 0 - args: - chdir: "/opt/rola" - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/roles/ams_sso/templates/rsWebserviceAppserver.xml.j2 b/roles/ams_sso/templates/rsWebserviceAppserver.xml.j2 deleted file mode 100644 index 086e14b..0000000 --- a/roles/ams_sso/templates/rsWebserviceAppserver.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - - - /opt/tmp/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServer.log - - {{ LOG_DIR }}/appserver - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmp/rsCasePrintTemp - - - - - - /opt/tmp/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ ansible_fqdn }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmp/dictionary/ - - diff --git a/roles/ams_sso/templates/rsWebserviceAppserverAdmin.xml.j2 b/roles/ams_sso/templates/rsWebserviceAppserverAdmin.xml.j2 deleted file mode 100644 index dadece7..0000000 --- a/roles/ams_sso/templates/rsWebserviceAppserverAdmin.xml.j2 +++ /dev/null @@ -1,320 +0,0 @@ - - - - -]> - - - - &key; - &pwd; - &common; - ILNJNEBDBDLFBDAHBHJKCJGJKCEOKPJOHJCNHMOBAPIOHMBGNNLGEBJMOPEKKOGFAFB - - /opt/tmpadmin/ - - C:/Programme/Internet Explorer/IEXPLORE.EXE - - true - 1 - - - - - - - - - - - 5 - - 5 - - - - - 2 - - - -1 - - - - - - - - - - - - - - - - - - - - - - - - - - {{ ams_LogLevel }} - - true - - true - true - - true - - - true - - - - - - - - - '.'yyyy-MM-dd - - - %d{dd MMM yyyy HH:mm:ss} [%t] %-5p %x :APPLICATION_ID: - %m%n - - - - 10MB - - - - - - - 0 - - rsWebserviceAppServeradmin.log - - {{ LOG_DIR }}/appserveradmin/ - - false - - - - - - - - - - - - - @ENV=RS_HOME@/doc/help - - - - - /opt/tmpadmin/rsCasePrintTemp - - - - - - /opt/tmpadmin/rsCasePrintTemp/PrinterConfigurations - - - - - - - - - - - - - false - - - - - - - - - - - - - - - - - - - - A|B - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 10 - - 30 - notepad - - - - 0 - true - - - 2880 - - - 2 - - - 3600000 - - - - - - - - - ? - - - - - - - - - - - - - - - HOST/{{ ansible_fqdn }} - - {{ sso_domain_upper }} - - /etc/krb5.keytab - - - - - false - - NORMAL - - - STANDARD - - MON1 - - false - - false - - 10888 - - monadmin - - - - 127.0.0.1|0:0:0:0:0:0:0:1 - - -1 - - -1 - - false - - false - - false - - false - - - - - - false - - - - - - -1 - - - - 1000 - - - - - true - - - - - true - - config/module/dictionary/ - - config/module/dictionary/ - - /opt/tmpadmin/dictionary/ - - diff --git a/roles/ams_sso/templates/ssh_config.j2 b/roles/ams_sso/templates/ssh_config.j2 deleted file mode 100644 index 9042afc..0000000 --- a/roles/ams_sso/templates/ssh_config.j2 +++ /dev/null @@ -1,69 +0,0 @@ -# $OpenBSD: ssh_config,v 1.30 2016/02/20 23:06:23 sobrado Exp $ - -# This is the ssh client system-wide configuration file. See -# ssh_config(5) for more information. This file provides defaults for -# users, and the values can be changed in per-user configuration files -# or on the command line. - -# Configuration data is parsed as follows: -# 1. command line options -# 2. user-specific file -# 3. system-wide file -# Any configuration value is only changed the first time it is set. -# Thus, host-specific definitions should be at the beginning of the -# configuration file, and defaults at the end. - -# Site-wide defaults for some commonly used options. For a comprehensive -# list of available options, their meanings and defaults, please see the -# ssh_config(5) man page. - -{{ sso_host }} -# ForwardAgent no -# ForwardX11 yes -# RhostsRSAAuthentication no -# RSAAuthentication yes -# PasswordAuthentication yes -# HostbasedAuthentication no - GSSAPIAuthentication yes - GSSAPIDelegateCredentials yes -# GSSAPIKeyExchange yes -# GSSAPITrustDNS no -# BatchMode no -# CheckHostIP yes -# AddressFamily any -# ConnectTimeout 5 -# StrictHostKeyChecking ask -# IdentityFile ~/.ssh/identity -# IdentityFile ~/.ssh/id_rsa -# IdentityFile ~/.ssh/id_dsa -# IdentityFile ~/.ssh/id_ecdsa -# IdentityFile ~/.ssh/id_ed25519 -# Port 22 -# Protocol 2 -# Cipher 3des -# Ciphers aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc -# MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160 -# EscapeChar ~ -# Tunnel no -# TunnelDevice any:any -# PermitLocalCommand no -# VisualHostKey no -# ProxyCommand ssh -q -W %h:%p gateway.example.com -# RekeyLimit 1G 1h -# -# Uncomment this if you want to use .local domain -# Host *.local -# CheckHostIP no - -{{ sso_host }} - GSSAPIAuthentication yes - GSSAPIDelegateCredentials yes -# If this option is set to yes then remote X11 clients will have full access -# to the original X11 display. As virtually no X11 client supports the untrusted -# mode correctly we set this to yes. - ForwardX11Trusted yes -# Send locale-related environment variables - SendEnv LANG LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY LC_MESSAGES - SendEnv LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT - SendEnv LC_IDENTIFICATION LC_ALL LANGUAGE - SendEnv XMODIFIERS diff --git a/roles/ams_sso/tests/inventory b/roles/ams_sso/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_sso/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_sso/tests/test.yml b/roles/ams_sso/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_sso/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_systemd/.travis.yml b/roles/ams_systemd/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/ams_systemd/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/ams_systemd/README.md b/roles/ams_systemd/README.md deleted file mode 100644 index 225dd44..0000000 --- a/roles/ams_systemd/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/ams_systemd/defaults/main.yml b/roles/ams_systemd/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/ams_systemd/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/ams_systemd/files/st_ALL.service b/roles/ams_systemd/files/st_ALL.service deleted file mode 100644 index 3987358..0000000 --- a/roles/ams_systemd/files/st_ALL.service +++ /dev/null @@ -1,14 +0,0 @@ -[Unit] -Description=AMS start-/stopALL-Skript - -[Service] -Type=simple -User=jetty -Group=dba -#Environment="AA=bb" -ExecStart=/home/jetty/startALL -ExecStop=/home/jetty/stopALL -RemainAfterExit=yes - -[Install] -WantedBy=multi-user.target diff --git a/roles/ams_systemd/handlers/main.yml b/roles/ams_systemd/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/ams_systemd/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/ams_systemd/meta/main.yml b/roles/ams_systemd/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/ams_systemd/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/ams_systemd/tasks/main.yml b/roles/ams_systemd/tasks/main.yml deleted file mode 100644 index d3c84ba..0000000 --- a/roles/ams_systemd/tasks/main.yml +++ /dev/null @@ -1,52 +0,0 @@ ---- -# tasks file for default_role - - - name: copy st_ALL.service to /etc/systemd/system/st_ALL.service - become_user: root - become: yes - copy: - src: st_ALL.service - dest: /etc/systemd/system/st_ALL.service - owner: root - group: root - mode: 0644 - - - name: delete line ./psc.sh in startALL - become_user: jetty - become: yes - lineinfile: - path: /home/jetty/startALL - regexp: '^./psc.sh' - state: absent - - - name: delete line ./psc.sh in stopALL - become_user: jetty - become: yes - lineinfile: - path: /home/jetty/stopALL - regexp: '^./psc.sh' - state: absent - - - name: reload systemctl daemon-reload - become_user: root - become: yes - systemd: - daemon_reload: yes - - - name: start st_ALL.service - become_user: root - become: yes - systemd: - state: started - name: st_ALL - - - name: enable st_ALL.service - become_user: root - become: yes - systemd: - name: st_ALL - enabled: yes - masked: no - - - diff --git a/roles/ams_systemd/tests/inventory b/roles/ams_systemd/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/ams_systemd/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/ams_systemd/tests/test.yml b/roles/ams_systemd/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/ams_systemd/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/ams_systemd/vars/main.yml b/roles/ams_systemd/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/ams_systemd/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/base_installation/.travis.yml b/roles/base_installation/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/base_installation/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/base_installation/defaults/main.yml b/roles/base_installation/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/base_installation/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/base_installation/handlers/main.yml b/roles/base_installation/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/base_installation/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/base_installation/meta/main.yml b/roles/base_installation/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/base_installation/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/base_installation/tasks/main.yml b/roles/base_installation/tasks/main.yml deleted file mode 100644 index 448666b..0000000 --- a/roles/base_installation/tasks/main.yml +++ /dev/null @@ -1,109 +0,0 @@ ---- - - name: Install rng-tools - become_user: root - become: yes - yum: - name: - - rng-tools - state: present - - name: Copy file bash_profile with owner and permissions bash_profile - copy: - src: ./files/bash_profile - dest: /home/jetty/.bash_profile - owner: jetty - group: dba - mode: '0644' - - name: Create a directory /opt/rola if it does not exist - become: yes - become_user: root - file: - path: /opt/rola - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Create a directory /opt/tmp if it does not exist - become: yes - become_user: root - file: - path: /opt/tmp - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Create a directory /opt/tmpadmin if it does not exist - become: yes - become_user: root - file: - path: /opt/tmpadmin - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Create a directory "{{ LOG_DIR }}/appserver" if it does not exist - become: yes - become_user: root - file: - path: "{{ LOG_DIR }}/appserver" - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Create a directory "{{ LOG_DIR }}/appserveradmin" if it does not exist - become: yes - become_user: root - file: - path: "{{ LOG_DIR }}/appserveradmin" - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Create a directory "{{ LOG_DIR }}/bvservice" if it does not exist - become: yes - become_user: root - file: - path: "{{ LOG_DIR }}/bvservice" - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Create a directory "{{ LOG_DIR }}/webservice" if it does not exist - become: yes - become_user: root - file: - path: "{{ LOG_DIR }}/webservice" - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Create a directory "{{ ACCESS_LOG }}" if it does not exist - become: yes - become_user: root - file: - path: "{{ ACCESS_LOG }}" - state: directory - mode: '0755' - owner: jetty - group: dba - - name: Copy file psc.sh with owner and permissions - copy: - src: ./files/psc.sh - dest: /home/jetty/psc.sh - owner: jetty - group: dba - mode: '0755' - - name: Copy file startALL with owner and permissions - copy: - src: ./files/startALL - dest: /home/jetty/startALL - owner: jetty - group: dba - mode: '0755' - - name: Copy file stopALL with owner and permissions - copy: - src: ./files/stopALL - dest: /home/jetty/stopALL - owner: jetty - group: dba - mode: '0755' - diff --git a/roles/base_installation/tests/inventory b/roles/base_installation/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/base_installation/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/base_installation/tests/test.yml b/roles/base_installation/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/base_installation/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/base_installation/vars/main.yml b/roles/base_installation/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/base_installation/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/chrony/.travis.yml b/roles/chrony/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/chrony/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/chrony/README.md b/roles/chrony/README.md deleted file mode 100644 index b6ee36e..0000000 --- a/roles/chrony/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -Prueft ob chrony installiert ist - -Requirements ------------- - -Keine - -Role Variables --------------- - -Keine - -Dependencies ------------- - -Keine - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - chrony - -License -------- - -BSD - -Author Information ------------------- - -M. Gillitzer 20200609 diff --git a/roles/chrony/defaults/main.yml b/roles/chrony/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/chrony/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/chrony/handlers/main.yml b/roles/chrony/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/chrony/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/chrony/meta/main.yml b/roles/chrony/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/chrony/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/chrony/tasks/main.yml b/roles/chrony/tasks/main.yml deleted file mode 100644 index 314a722..0000000 --- a/roles/chrony/tasks/main.yml +++ /dev/null @@ -1,4 +0,0 @@ ---- - - name: check if chrony, a ntp-client, is installed - yum: - name: chrony diff --git a/roles/chrony/tests/inventory b/roles/chrony/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/chrony/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/chrony/tests/test.yml b/roles/chrony/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/chrony/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/chrony/vars/main.yml b/roles/chrony/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/chrony/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/db1913/files/.18cEE_SoftOnly.rsp.swp b/roles/db1913/files/.18cEE_SoftOnly.rsp.swp new file mode 100644 index 0000000..402ea10 Binary files /dev/null and b/roles/db1913/files/.18cEE_SoftOnly.rsp.swp differ diff --git a/roles/db1913/files/19cEE_SoftOnly.rsp b/roles/db1913/files/19cEE_SoftOnly.rsp new file mode 100755 index 0000000..ece9ffa --- /dev/null +++ b/roles/db1913/files/19cEE_SoftOnly.rsp @@ -0,0 +1,17 @@ +oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0 +oracle.install.option=INSTALL_DB_SWONLY +UNIX_GROUP_NAME=oinstall +INVENTORY_LOCATION={{ oracle_inventory }} +ORACLE_HOME={{ oracle_home }} +ORACLE_BASE={{ oracle_base }} +oracle.install.db.InstallEdition=EE +oracle.install.db.OSDBA_GROUP=dba +oracle.install.db.OSOPER_GROUP=oper +oracle.install.db.OSBACKUPDBA_GROUP=oinstall +oracle.install.db.OSDGDBA_GROUP=oinstall +oracle.install.db.OSKMDBA_GROUP=oinstall +oracle.install.db.OSRACDBA_GROUP=dba +SECURITY_UPDATES_VIA_MYORACLESUPPORT=false +DECLINE_SECURITY_UPDATES=true +oracle.installer.autoupdates.option=SKIP_UPDATES + diff --git a/roles/db1913/files/bash_profile b/roles/db1913/files/bash_profile new file mode 100644 index 0000000..f3afe4d --- /dev/null +++ b/roles/db1913/files/bash_profile @@ -0,0 +1,31 @@ +# Oracle Settings +export TMP=/tmp + +export ORACLE_HOSTNAME=centos +export ORACLE_UNQNAME=ORA19C +export ORACLE_BASE=/u01/app/oracle +export ORACLE_HOME=/u01/app/oracle/product/19.3.0/db100 +export ORACLE_SID=ORA19C + +PATH=/usr/sbin:$PATH:$ORACLE_HOME/bin + +export LD_LIBRARY_PATH=$ORACLE_HOME/lib:/lib:/usr/lib; +export CLASSPATH=$ORACLE_HOME/jlib:$ORACLE_HOME/rdbms/jlib; + +alias cdob='cd $ORACLE_BASE' +alias cdoh='cd $ORACLE_HOME' +alias tns='cd $ORACLE_HOME/network/admin' +alias envo='env | grep ORACLE' + +umask 022 + +if [ $USER = "oracle" ]; then + if [ $SHELL = "/bin/ksh" ]; then + ulimit -u 16384 + ulimit -n 65536 + else + ulimit -u 16384 -n 65536 + fi +fi + +envo diff --git a/roles/db1913/files/limits.conf b/roles/db1913/files/limits.conf new file mode 100644 index 0000000..4145c97 --- /dev/null +++ b/roles/db1913/files/limits.conf @@ -0,0 +1,61 @@ +# /etc/security/limits.conf +# +#Each line describes a limit for a user in the form: +# +# +# +#Where: +# can be: +# - a user name +# - a group name, with @group syntax +# - the wildcard *, for default entry +# - the wildcard %, can be also used with %group syntax, +# for maxlogin limit +# - NOTE: group and wildcard limits are not applied to root. +# To apply a limit to the root user, must be +# the literal username root. +# +# can have the two values: +# - "soft" for enforcing the soft limits +# - "hard" for enforcing hard limits +# +# can be one of the following: +# - core - limits the core file size (KB) +# - data - max data size (KB) +# - fsize - maximum filesize (KB) +# - memlock - max locked-in-memory address space (KB) +# - nofile - max number of open file descriptors +# - rss - max resident set size (KB) +# - stack - max stack size (KB) +# - cpu - max CPU time (MIN) +# - nproc - max number of processes +# - as - address space limit (KB) +# - maxlogins - max number of logins for this user +# - maxsyslogins - max number of logins on the system +# - priority - the priority to run user process with +# - locks - max number of file locks the user can hold +# - sigpending - max number of pending signals +# - msgqueue - max memory used by POSIX message queues (bytes) +# - nice - max nice priority allowed to raise to values: [-20, 19] +# - rtprio - max realtime priority +# - chroot - change root to directory (Debian-specific) +# +# +# + +#* soft core 0 +#root hard core 100000 +#* hard rss 10000 +#@student hard nproc 20 +#@faculty soft nproc 20 +#@faculty hard nproc 50 +#ftp hard nproc 0 +#ftp - chroot /ftp +#@student - maxlogins 4 + +* soft nofile 2048 +* hard nofile 65536 +* soft stack 10250 +* hard stack 10250 + +# End of file diff --git a/roles/db1913/files/sysctl.conf b/roles/db1913/files/sysctl.conf new file mode 100644 index 0000000..f8902dd --- /dev/null +++ b/roles/db1913/files/sysctl.conf @@ -0,0 +1,11 @@ +fs.aio-max-nr = 1048576 +fs.file-max = 6815744 +kernel.shmall = 2097152 +kernel.shmmax = 4294967295 +kernel.shmmni = 4096 +kernel.sem = 250 32000 100 128 +net.ipv4.ip_local_port_range = 9000 65500 +net.core.rmem_default = 262144 +net.core.rmem_max = 4194304 +net.core.wmem_default = 262144 +net.core.wmem_max = 1048576 diff --git a/roles/db1913/tasks/.main.yml.swp b/roles/db1913/tasks/.main.yml.swp new file mode 100644 index 0000000..c55ccdd Binary files /dev/null and b/roles/db1913/tasks/.main.yml.swp differ diff --git a/roles/db1913/tasks/main.yml b/roles/db1913/tasks/main.yml new file mode 100755 index 0000000..7c8c895 --- /dev/null +++ b/roles/db1913/tasks/main.yml @@ -0,0 +1,340 @@ +- name: display pre database software install message + remote_user: "{{ root_user }}" + debug: + msg: + - 'Oracle Database Software 19.13c Installation started for Single Instance at {{ansible_date_time.iso8601}}:' + +- name: "determine if directory exists" + stat: + path: "{{ oracle_home }}" + register: out + +- name: Abbruch check + debug: + msg: "Abbruch, da Direchtory vorhanden auf Host {{ ansible_fqdn }}" + when: out.stat.exists == true + +#- name: directory exists ending play +# meta: end_host +# when: out.stat.exists == true + + +- name: Run orachk with option nordbms + expect: + command: "/opt/ahf/oracle.ahf/bin/orachk -profile preinstall -nordbms" + responses: + '(?m)^This computer is for.*': "S" +# '(?m)^RDBMS binaries found at ': "Y" + timeout: null + register: orachk_output + +- name: Show orachk result + debug: + msg: "{{ orachk_output.stdout_lines }}" + +- name: Abbruchmeldung wenn Fehler bei orachk + debug: + msg: "Abbruch, da der Check Fehler ergeben hat" + when: orachk_output.stdout.find("FAIL") != -1 + +- name: Abbruch wenn Fehler bei orachk + meta: end_host + when: orachk_output.stdout.find("FAIL") != -1 + +- name: directory exists ending play + meta: end_host + when: out.stat.exists == true + +- name: Ensure free space on disk is more than 7.2 GB + assert: + that: item.size_available > 7200000000 + msg: "warning: disk space is low" + when: item.mount == mount_directory + with_items: "{{ ansible_mounts }}" + no_log: true + +- debug: + msg: "checking resource limits" + +#- name: copy limits.conf to /etc/security/limits.conf +# become_user: root +# become: yes +# copy: +# src: limits.conf +# dest: /etc/security/limits.conf +# owner: root +# group: root +# mode: 0644 +# +#- name: Upgrade all packages +# become_user: root +# become: yes +# yum: +# name: '*' +# state: latest +# +#- name: Install the latest version of necessary software +# become_user: root +# become: yes +# yum: +# name: "{{ packages }}" +# vars: +# packages: +# - centos-release-ansible-29.noarch +# - compat-libcap1-1.10 +# - libstdc++-devel.x86_64 +# - gcc-c++.x86_64 +# - ksh +# - libaio-devel-0.3.109 +# - compat-libstdc++-33-3.2.3 +# state: latest +# tags: install_software +# +# +- name: check file descriptor soft limit + become_user: oracle + become: true + shell: + cmd: ulimit -Sn + register: limits + +- name: check soft limit stdout + fail: + msg: "warning: file descriptor soft limit is {{ limits.stdout }}" + ignore_errors: yes + when: limits.stdout | int < 1024 + +- name: check file descriptor hard limit + become_user: oracle + become: true + shell: + cmd: ulimit -Hn + register: limits + +- name: --- + fail: + msg: "warning: file descriptor hard limit is {{ limits.stdout }}" + ignore_errors: yes + when: limits.stdout | int < 65536 + +- name: check available processes soft limit + become_user: oracle + become: true + shell: + cmd: ulimit -Sn + register: limits + +- name: --- + fail: + msg: "warning: available processes soft limit is {{ limits.stdout }}" + ignore_errors: yes + when: limits.stdout | int < 2047 + +- name: check available processes hard limit + become_user: oracle + become: true + shell: + cmd: ulimit -H -n + args: + executable: /bin/bash + register: limits + +- name: --- + fail: + msg: "warning: available processes hard limit is {{ limits.stdout }}" + ignore_errors: yes + when: limits.stdout | int < 16384 + +- name: check stack segment soft limit + become_user: oracle + become: true + shell: + cmd: ulimit -Ss + register: limits + +- name: --- + fail: + msg: "warning: stack segment soft limit is {{ limits.stdout }}" + ignore_errors: yes + when: limits.stdout | int < 10240 + +- name: check stack segment hard limit + become_user: oracle + become: true + shell: + cmd: ulimit -Hs + register: limits + +- name: --- + fail: + msg: "warning: stack segment hard limit is {{ limits.stdout }}" + ignore_errors: yes + when: limits.stdout | int < 10240 or limits.stdout | int > 32768 + +#- name: Ensure group "oinstall" exists +# become_user: root +# become: yes +# group: +# name: oinstall +# state: present +# +#- name: Ensure group "oper" exists +# become_user: root +# become: yes +# group: +# name: oper +# state: present +# system: yes +# +# +- name: Ensure group "dba" exists + become_user: root + become: yes + group: + name: dba + state: present + system: yes + +# +#- name: create user with group oinstall and dba +# become_user: root +# become: yes +# user: +# name: oracle +# group: oinstall +# groups: dba, oper + +- name: create required directories + when: inventory_hostname in groups['dbservers'] + #remote_user: "{{ root_user }}" + become_user: root + become: yes + file: + path="{{ item }}" + state=directory + owner="{{ oracle_user }}" + group="{{ oracle_install_group }}" + mode=0775 + with_items: +# - "{{ root_directory }}" +# - "{{ scripts_directory }}" + - "{{ oracle_inventory }}" + - "{{ oracle_base }}" +# - "{{ stage_dir }}" + - "{{ oracle_home }}" + tags: + - db19c_createinventory +# +#- name: Copy preinstall-19c package to target database server +# when: inventory_hostname in groups['dbservers'] +# become_user: root +# become: yes +# copy: src=roles/dbsoftware19c_install/files/{{ item }} +# dest: {{ stage_dir }} +# mode: 0755 +# owner: "{{ oracle_user }}" +# group: "{{ oracle_install_group }}" +# with_items: +# - oracle-database-preinstall-19c-1.0-1.el7.src.rpm +# tags: +# - db19c_preinstpkg +# +#- name: Execute rpm package +# when: inventory_hostname in groups['dbservers'] +# become_user: "{{ root_user }}" +# become: yes +# command: rpm -U "/{{ stage_dir }}/{{ preinstall_pkg }}" +# args: +# warn: false +# register: db19c_prerpm_install +# tags: +# - db19c_preinstpkg +# +#- name: Download Oracle 19c archive from server +# #get_url: +# #url: "{{ oracle19c_url }}" +# #dest: "{{ stage_dir }}/LINUX.X64_193000_db_home.zip" +# #mode: '0775' +# #tags: +# #- download_oracle19c +# +#- name: copy {{ goldimagepath }}/{{ goldimagename}} to {{ oracle_home }} +# when: inventory_hostname in groups['dbservers'] +# become_user: "{{ root_user }}" +# become: yes +# copy: +# src: "{{ goldimagepath }}/{{ goldimagename }}" +# dest: "{{ oracle_home }}/{{ goldimagename }}" +# remote_src: yes +# group: "{{ oracle_install_group }}" +# owner: "{{ oracle_user }}" + +- name: Unpack Oracle 19c Database Software to the target server + when: inventory_hostname in groups['dbservers'] + become_user: "{{ root_user }}" + become: yes + #become_user: "{{ oracle_user }}" + unarchive: + src={{ goldimagepath }}/{{ goldimagename }} + dest="{{ oracle_home }}" + remote_src=yes + mode=0775 + group="{{ oracle_install_group }}" + owner="{{ oracle_user }}" + tags: + - db19c_unpackdbsoftware + +- name: Setup Oracle 19c Database Software silent response file + when: inventory_hostname in groups['dbservers'] + #remote_user: "{{ root_user }}" + become: yes + become_user: "{{ oracle_user }}" + template: src=roles/db1913/templates/{{ oradbsoft_rsp }}.rsp.j2 dest=/tmp/{{ oradbsoft_rsp }}.rsp mode=0755 + tags: + - db19c_setuprspfile + +- name: Install Oracle 19c Database Software + when: inventory_hostname in groups['dbservers'] + #remote_user: "{{ root_user }}" + become: yes + become_user: "{{ oracle_user }}" + shell: "{{ oracle_home }}/runInstaller -silent -responseFile /tmp/{{ oradbsoft_rsp }}.rsp -ignorePrereq -noconfig -force" + #ignore_errors: True + tags: + - dbsoft19c_install + +- name: Execute orainstroot.sh + become_user: root + become: yes + when: inventory_hostname in groups['dbservers'] + #remote_user: "{{ root_user }}" + shell: "{{ oracle_inventory }}/orainstRoot.sh" + #ignore_errors: True + tags: + - db19c_exeorainstroot + +- name: Execute root.sh + become_user: root + become: yes + when: inventory_hostname in groups['dbservers'] + #remote_user: "{{ root_user }}" + shell: "{{ oracle_home }}/root.sh -silent" + tags: + - db19c_exeroot + +- name: Remove response file + become_user: root + become: yes + when: inventory_hostname in groups['dbservers'] + file: path=/tmp/{{ oradbsoft_rsp }}.rsp state=absent + +- name: display post install message + debug: + msg: + - 'This Steps completed below task for Single Instance at {{ansible_date_time.iso8601}}:' + - '- Install Single Instance Oracle Database Software' + - 'Next Steps left to do:' + - '- Create SI empty Container Database on server ora-x1' + - '- Create SI Pluggable Database on server ora-x1' + - '- Deinstall Single Instance Oracle Database Software' + - '- END OF ALL: git clone of OracleDBAwithAnsible repository will be shared' diff --git a/roles/db1913/templates/19cEE_SoftOnly.rsp.j2 b/roles/db1913/templates/19cEE_SoftOnly.rsp.j2 new file mode 100755 index 0000000..7670d1c --- /dev/null +++ b/roles/db1913/templates/19cEE_SoftOnly.rsp.j2 @@ -0,0 +1,17 @@ +oracle.install.responseFileVersion=/oracle/install/rspfmt_dbinstall_response_schema_v19.0.0 +oracle.install.option=INSTALL_DB_SWONLY +UNIX_GROUP_NAME=dba +INVENTORY_LOCATION={{ oracle_inventory }} +ORACLE_HOME={{ oracle_home }} +ORACLE_BASE={{ oracle_base }} +oracle.install.db.InstallEdition=EE +oracle.install.db.OSDBA_GROUP=dba +oracle.install.db.OSOPER_GROUP= +oracle.install.db.OSBACKUPDBA_GROUP=dba +oracle.install.db.OSDGDBA_GROUP=dba +oracle.install.db.OSKMDBA_GROUP=dba +oracle.install.db.OSRACDBA_GROUP=dba +SECURITY_UPDATES_VIA_MYORACLESUPPORT=false +DECLINE_SECURITY_UPDATES=true +oracle.installer.autoupdates.option=SKIP_UPDATES + diff --git a/roles/db1913/vars/main.yml b/roles/db1913/vars/main.yml new file mode 100755 index 0000000..b149f26 --- /dev/null +++ b/roles/db1913/vars/main.yml @@ -0,0 +1,11 @@ +oracle_install_group: "dba" +mount_directory: "/" +root_directory: "/opt" +oracle_base: /opt/oracle +oracle_home: /opt/oracle/db/19.13 +oracle_inventory: /opt/oraInventory +oracle_user: oracle +root_user: root +oradbsoft_rsp: "19cEE_SoftOnly" +goldimagepath: /sw/oracle/DB/linux/19/19.13 +goldimagename: db_home_goldimage.zip diff --git a/roles/default_role/.travis.yml b/roles/default_role/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/default_role/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/default_role/README.md b/roles/default_role/README.md deleted file mode 100644 index 225dd44..0000000 --- a/roles/default_role/README.md +++ /dev/null @@ -1,38 +0,0 @@ -Role Name -========= - -A brief description of the role goes here. - -Requirements ------------- - -Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required. - -Role Variables --------------- - -A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well. - -Dependencies ------------- - -A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles. - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - { role: username.rolename, x: 42 } - -License -------- - -BSD - -Author Information ------------------- - -An optional section for the role authors to include contact information, or a website (HTML is not allowed). diff --git a/roles/default_role/defaults/main.yml b/roles/default_role/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/default_role/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/default_role/handlers/main.yml b/roles/default_role/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/default_role/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/default_role/meta/main.yml b/roles/default_role/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/default_role/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/default_role/tasks/main.yml b/roles/default_role/tasks/main.yml deleted file mode 100644 index 57d2c96..0000000 --- a/roles/default_role/tasks/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# tasks file for default_role \ No newline at end of file diff --git a/roles/default_role/tests/inventory b/roles/default_role/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/default_role/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/default_role/tests/test.yml b/roles/default_role/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/default_role/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/default_role/vars/main.yml b/roles/default_role/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/default_role/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/disable_import_cv_xml/.travis.yml b/roles/disable_import_cv_xml/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/disable_import_cv_xml/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/disable_import_cv_xml/README.md b/roles/disable_import_cv_xml/README.md deleted file mode 100644 index fee42d8..0000000 --- a/roles/disable_import_cv_xml/README.md +++ /dev/null @@ -1,39 +0,0 @@ -Role Name -========= - -Hiermit werden bei AMS die Grundinstallation angestossen. Dh. dass zb. das bash_profile eingefügt wird, die Log-Ordner werden erstellt, die start/-stopALL-Skripte mit psc.sh werden erstellt etc. - -Requirements ------------- - -Keine. - -Role Variables --------------- - -Keine. - -Dependencies ------------- - -Keine. - - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - base_installation - -License -------- - -BSD - -Author Information ------------------- - -M. Gillitzer, Version 0.1 diff --git a/roles/disable_import_cv_xml/defaults/main.yml b/roles/disable_import_cv_xml/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/disable_import_cv_xml/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/disable_import_cv_xml/files/web.xml b/roles/disable_import_cv_xml/files/web.xml deleted file mode 100644 index bee8af2..0000000 --- a/roles/disable_import_cv_xml/files/web.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - Apache-Axis2 - - Apache-Axis Servlet - AxisServlet - org.apache.axis2.transport.http.AxisServlet - - ${test.axis2.repository.path} - ${axis2.repository.path} - - 1 - - - AxisServlet - /servlet/AxisServlet - - - AxisServlet - *.jws - - - AxisServlet - /services/version_2.1.1/* - - - AxisServlet - /services/version_2.0.2/* - - - - IMPServiceContextListener - com.rola.server.imp.soap.server.IMPServiceContextListener - - - - - - - - MonitoringFilter - com.rola.monitoring.web.MonitoringServletFilter - - categorizerThreshold - 0 - - - - MonitoringFilter - /* - ERROR - FORWARD - INCLUDE - REQUEST - - - - - - - - IMPRESTServlet - com.rola.server.imp.rest.IMPRESTServlet - 1 - - - - IMPRESTServlet - /version_2.0.2/processData - - - IMPRESTServlet - /version_2.1.1/processData - - - - IMPRESTServlet - /version_2.0.2/processDataSync - - - - IMPRESTServlet - /version_2.1.1/processDataSync - - - - - InterfaceContextServletFilter - com.rola.server.exchange.interfacecontext.InterfaceContextServletFilter - - - - InterfaceContextServletFilter - IMPRESTServlet - - - - InterfaceContextServletFilter - AxisServlet - - - - - - rola/config - - java.lang.String - [DEFAULT] - - - - rola/moduleId - - java.lang.String - IMP2_0 - - - - - - - HTML-Client - /htmlclient/* - GET - POST - - - - NONE - - - - - - - diff --git a/roles/disable_import_cv_xml/handlers/main.yml b/roles/disable_import_cv_xml/handlers/main.yml deleted file mode 100644 index 03ae149..0000000 --- a/roles/disable_import_cv_xml/handlers/main.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -# handlers file for default_role - - name: stop_Imp20 - command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh stop - async: 120 - poll: 5 - - - name: check_Imp20 - become: true - become_user: jetty - wait_for: - path: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.status - state: absent - async: 120 - poll: 5 - - - name: start_Imp20 - command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start - async: 120 - poll: 5 diff --git a/roles/disable_import_cv_xml/meta/main.yml b/roles/disable_import_cv_xml/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/disable_import_cv_xml/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/disable_import_cv_xml/tasks/main.yml b/roles/disable_import_cv_xml/tasks/main.yml deleted file mode 100644 index 5c9b596..0000000 --- a/roles/disable_import_cv_xml/tasks/main.yml +++ /dev/null @@ -1,8 +0,0 @@ ---- - - name: Copy file web.xml with owner and permissions web.xml - copy: - src: web.xml - dest: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.webmodule.imp20/WebContent/WEB-INF/web.xml - owner: jetty - group: dba - mode: '0644' diff --git a/roles/disable_import_cv_xml/tests/inventory b/roles/disable_import_cv_xml/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/disable_import_cv_xml/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/disable_import_cv_xml/tests/test.yml b/roles/disable_import_cv_xml/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/disable_import_cv_xml/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/disable_import_cv_xml/vars/main.yml b/roles/disable_import_cv_xml/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/disable_import_cv_xml/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/enable_import_cv_xml/.travis.yml b/roles/enable_import_cv_xml/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/enable_import_cv_xml/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/enable_import_cv_xml/README.md b/roles/enable_import_cv_xml/README.md deleted file mode 100644 index fee42d8..0000000 --- a/roles/enable_import_cv_xml/README.md +++ /dev/null @@ -1,39 +0,0 @@ -Role Name -========= - -Hiermit werden bei AMS die Grundinstallation angestossen. Dh. dass zb. das bash_profile eingefügt wird, die Log-Ordner werden erstellt, die start/-stopALL-Skripte mit psc.sh werden erstellt etc. - -Requirements ------------- - -Keine. - -Role Variables --------------- - -Keine. - -Dependencies ------------- - -Keine. - - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: servers - roles: - - base_installation - -License -------- - -BSD - -Author Information ------------------- - -M. Gillitzer, Version 0.1 diff --git a/roles/enable_import_cv_xml/defaults/main.yml b/roles/enable_import_cv_xml/defaults/main.yml deleted file mode 100644 index 4db8f11..0000000 --- a/roles/enable_import_cv_xml/defaults/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# defaults file for default_role \ No newline at end of file diff --git a/roles/enable_import_cv_xml/files/web.xml b/roles/enable_import_cv_xml/files/web.xml deleted file mode 100644 index 50c63f0..0000000 --- a/roles/enable_import_cv_xml/files/web.xml +++ /dev/null @@ -1,169 +0,0 @@ - - - - - Apache-Axis2 - - Apache-Axis Servlet - AxisServlet - org.apache.axis2.transport.http.AxisServlet - - ${test.axis2.repository.path} - ${axis2.repository.path} - - 1 - - - AxisServlet - /servlet/AxisServlet - - - AxisServlet - *.jws - - - AxisServlet - /services/version_2.1.1/* - - - AxisServlet - /services/version_2.0.2/* - - - - IMPServiceContextListener - com.rola.server.imp.soap.server.IMPServiceContextListener - - - - - - - - MonitoringFilter - com.rola.monitoring.web.MonitoringServletFilter - - categorizerThreshold - 0 - - - - MonitoringFilter - /* - ERROR - FORWARD - INCLUDE - REQUEST - - - - - - - - IMPRESTServlet - com.rola.server.imp.rest.IMPRESTServlet - 1 - - - - IMPRESTServlet - /version_2.0.2/processData - - - IMPRESTServlet - /version_2.1.1/processData - - - - IMPRESTServlet - /version_2.0.2/processDataSync - - - - IMPRESTServlet - /version_2.1.1/processDataSync - - - - - InterfaceContextServletFilter - com.rola.server.exchange.interfacecontext.InterfaceContextServletFilter - - - - InterfaceContextServletFilter - IMPRESTServlet - - - - InterfaceContextServletFilter - AxisServlet - - - - - - rola/config - - java.lang.String - [DEFAULT] - - - - rola/moduleId - - java.lang.String - IMP2_0 - - - - - - - - - - diff --git a/roles/enable_import_cv_xml/handlers/main.yml b/roles/enable_import_cv_xml/handlers/main.yml deleted file mode 100644 index 03ae149..0000000 --- a/roles/enable_import_cv_xml/handlers/main.yml +++ /dev/null @@ -1,20 +0,0 @@ ---- -# handlers file for default_role - - name: stop_Imp20 - command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh stop - async: 120 - poll: 5 - - - name: check_Imp20 - become: true - become_user: jetty - wait_for: - path: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.status - state: absent - async: 120 - poll: 5 - - - name: start_Imp20 - command: /opt/rola/ams/linux/Services/service/rsWebserviceImp20.sh start - async: 120 - poll: 5 diff --git a/roles/enable_import_cv_xml/meta/main.yml b/roles/enable_import_cv_xml/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/enable_import_cv_xml/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/enable_import_cv_xml/tasks/main.yml b/roles/enable_import_cv_xml/tasks/main.yml deleted file mode 100644 index 86ed660..0000000 --- a/roles/enable_import_cv_xml/tasks/main.yml +++ /dev/null @@ -1,12 +0,0 @@ ---- - - name: Copy file web.xml with owner and permissions web.xml - copy: - src: web.xml - dest: /opt/rola/ams/linux/Services/plugins/rola/com.rola.rsframe.webmodule.imp20/WebContent/WEB-INF/web.xml - owner: jetty - group: dba - mode: '0644' - notify: - - stop_Imp20 - - check_Imp20 - - start_Imp20 diff --git a/roles/enable_import_cv_xml/tests/inventory b/roles/enable_import_cv_xml/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/enable_import_cv_xml/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/enable_import_cv_xml/tests/test.yml b/roles/enable_import_cv_xml/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/enable_import_cv_xml/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/enable_import_cv_xml/vars/main.yml b/roles/enable_import_cv_xml/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/enable_import_cv_xml/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0006_8.0.5.0/.travis.yml b/roles/filesystem/.travis.yml similarity index 100% rename from roles/ams_0006_8.0.5.0/.travis.yml rename to roles/filesystem/.travis.yml diff --git a/roles/base_installation/README.md b/roles/filesystem/README.md similarity index 100% rename from roles/base_installation/README.md rename to roles/filesystem/README.md diff --git a/roles/ams_0006_8.0.5.0/defaults/main.yml b/roles/filesystem/defaults/main.yml similarity index 100% rename from roles/ams_0006_8.0.5.0/defaults/main.yml rename to roles/filesystem/defaults/main.yml diff --git a/roles/base_installation/files/bash_profile b/roles/filesystem/files/bash_profile similarity index 100% rename from roles/base_installation/files/bash_profile rename to roles/filesystem/files/bash_profile diff --git a/roles/base_installation/files/psc.sh b/roles/filesystem/files/psc.sh similarity index 100% rename from roles/base_installation/files/psc.sh rename to roles/filesystem/files/psc.sh diff --git a/roles/base_installation/files/startALL b/roles/filesystem/files/startALL similarity index 100% rename from roles/base_installation/files/startALL rename to roles/filesystem/files/startALL diff --git a/roles/base_installation/files/stopALL b/roles/filesystem/files/stopALL similarity index 100% rename from roles/base_installation/files/stopALL rename to roles/filesystem/files/stopALL diff --git a/roles/ams_0006_8.0.5.0/handlers/main.yml b/roles/filesystem/handlers/main.yml similarity index 100% rename from roles/ams_0006_8.0.5.0/handlers/main.yml rename to roles/filesystem/handlers/main.yml diff --git a/roles/ams_0006_8.0.5.0/meta/main.yml b/roles/filesystem/meta/main.yml similarity index 100% rename from roles/ams_0006_8.0.5.0/meta/main.yml rename to roles/filesystem/meta/main.yml diff --git a/roles/filesystem/tasks/main.yml b/roles/filesystem/tasks/main.yml new file mode 100644 index 0000000..749bb02 --- /dev/null +++ b/roles/filesystem/tasks/main.yml @@ -0,0 +1,60 @@ +--- + - name: Copy file bash_profile + copy: + src: /home/aschwarz/.bash_profile + dest: /home/aschwarz/.bash_profile_orig + owner: aschwarz + group: aschwarz + mode: '0644' + - name: Extents the profile aschwarz + blockinfile: + path: /home/aschwarz/.bash_profile + block: | + echo $DISPLAY > ~/display + sudo chmod 777 ~/display + sudo chown oracle:dba display + sudo cp ~/.Xauthority /home/oracle/ + sudo cp ~/display /home/oracle + clear + echo + echo "Verfuegbare Umgebungen" + echo + echo 1 - ORACLE + echo 2 - ROOT + echo 3 - USER + echo + read -p "Bitte Eingabe machen: " option + case "$option" in + 1) clear + sudo -u oracle -i + exit;; + 2) sudo -i + exit;; + 3) ;; + esac +# - name: Chanddge passwd for oracle +# user: +# state: "present" +# user: "oracle" +# password: + - name: Creates directory /opt/oracle + file: + path: /opt/oracle + state: directory + recurse: yes + owner: oracle + group: dba + - name: Creates directory /oradata + file: + path: /oradata + state: directory + recurse: yes + owner: oracle + group: dba + - name: Creates directory /oraarch + file: + path: /oraarch + state: directory + recurse: yes + owner: oracle + group: dba diff --git a/roles/ams_0006_8.0.5.0/tests/inventory b/roles/filesystem/tests/inventory similarity index 100% rename from roles/ams_0006_8.0.5.0/tests/inventory rename to roles/filesystem/tests/inventory diff --git a/roles/ams_0006_8.0.5.0/tests/test.yml b/roles/filesystem/tests/test.yml similarity index 100% rename from roles/ams_0006_8.0.5.0/tests/test.yml rename to roles/filesystem/tests/test.yml diff --git a/roles/ams_0006_8.0.5.0/vars/main.yml b/roles/filesystem/vars/main.yml similarity index 100% rename from roles/ams_0006_8.0.5.0/vars/main.yml rename to roles/filesystem/vars/main.yml diff --git a/roles/git/.travis.yml b/roles/git/.travis.yml deleted file mode 100644 index 36bbf62..0000000 --- a/roles/git/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- -language: python -python: "2.7" - -# Use the new container infrastructure -sudo: false - -# Install ansible -addons: - apt: - packages: - - python-pip - -install: - # Install ansible - - pip install ansible - - # Check ansible version - - ansible --version - - # Create ansible.cfg with correct roles_path - - printf '[defaults]\nroles_path=../' >ansible.cfg - -script: - # Basic role syntax check - - ansible-playbook tests/test.yml -i tests/inventory --syntax-check - -notifications: - webhooks: https://galaxy.ansible.com/api/v1/notifications/ \ No newline at end of file diff --git a/roles/git/README.md b/roles/git/README.md deleted file mode 100644 index 8a33243..0000000 --- a/roles/git/README.md +++ /dev/null @@ -1,55 +0,0 @@ -Role Name -========= - -1. Installiert git auf dem System. -2. Kopiert .gitignore nach {{ path_init }} -3. Initiiert ein Git-Repository - -Aktuell wird beim prüfen, ob schon ein .git-Ordner vorhanden ist noch ein Fehler geworfen wenn der Ordner NICHT da ist, aber -der Fehler wird dann übersprungen. -Vielleicht gibt es noch eine bessere Lösung? - - -Requirements ------------- - -RHEL 7, x86-64 - -Role Variables --------------- - -Folgende Variablen sind im Default-Ordner vorhanden: - - -path_init="/opt/rola" -user_name="jetty" -user_group="dba" - - -Dependencies ------------- - -Keine. - - -Example Playbook ----------------- - -Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too: - - - hosts: all - roles: - - git - path_init: "/opt/oracle" - user_name: "wls2" - user_group: "dba" - -License -------- - -BSD - -Author Information ------------------- - -Marcus Gillitzer Version 0.2 diff --git a/roles/git/defaults/main.yml b/roles/git/defaults/main.yml deleted file mode 100644 index 33ad812..0000000 --- a/roles/git/defaults/main.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# defaults file for default_role -path_init: "/opt/rola" -user_name: "jetty" -user_group: "dba" diff --git a/roles/git/files/.gitignore b/roles/git/files/.gitignore deleted file mode 100755 index 7daeb51..0000000 --- a/roles/git/files/.gitignore +++ /dev/null @@ -1,12 +0,0 @@ -# Ignore everything -* - -# But not these files... -!.gitignore -!*.xml -!*.conf -# etc... - -# ...even if they are in subdirectories -!*/ - diff --git a/roles/git/files/gitignore b/roles/git/files/gitignore deleted file mode 100755 index 7daeb51..0000000 --- a/roles/git/files/gitignore +++ /dev/null @@ -1,12 +0,0 @@ -# Ignore everything -* - -# But not these files... -!.gitignore -!*.xml -!*.conf -# etc... - -# ...even if they are in subdirectories -!*/ - diff --git a/roles/git/handlers/main.yml b/roles/git/handlers/main.yml deleted file mode 100644 index cb71395..0000000 --- a/roles/git/handlers/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# handlers file for default_role \ No newline at end of file diff --git a/roles/git/meta/main.yml b/roles/git/meta/main.yml deleted file mode 100644 index 5d50bf4..0000000 --- a/roles/git/meta/main.yml +++ /dev/null @@ -1,60 +0,0 @@ -galaxy_info: - author: your name - description: your description - company: your company (optional) - - # If the issue tracker for your role is not on github, uncomment the - # next line and provide a value - # issue_tracker_url: http://example.com/issue/tracker - - # Some suggested licenses: - # - BSD (default) - # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) - - min_ansible_version: 2.4 - - # If this a Container Enabled role, provide the minimum Ansible Container version. - # min_ansible_container_version: - - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - - # - # Provide a list of supported platforms, and for each platform a list of versions. - # If you don't wish to enumerate all versions for a particular platform, use 'all'. - # To view available platforms and versions (or releases), visit: - # https://galaxy.ansible.com/api/v1/platforms/ - # - # platforms: - # - name: Fedora - # versions: - # - all - # - 25 - # - name: SomePlatform - # versions: - # - all - # - 1.0 - # - 7 - # - 99.99 - - galaxy_tags: [] - # List tags for your role here, one per line. A tag is a keyword that describes - # and categorizes the role. Users find roles by searching for tags. Be sure to - # remove the '[]' above, if you add tags to this list. - # - # NOTE: A tag is limited to a single word comprised of alphanumeric characters. - # Maximum 20 tags per role. - -dependencies: [] - # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml deleted file mode 100644 index 15c5a7f..0000000 --- a/roles/git/tasks/main.yml +++ /dev/null @@ -1,68 +0,0 @@ ---- - - name: Install git via yum in latest version - become: yes - become_user: root - yum: - name: git.x86_64 - state: latest - disable_gpg_check: true - - - name: check if {{ path_init }} exists - become: yes - file: - path: "{{ path_init }}" - owner: "{{ user_name }}" - group: "{{ user_group }}" - mode: '0755' - state: directory - - - name: Copy file .gitignore with owner and permissions - copy: - src: ./files/gitignore - dest: "{{ path_init }}/.gitignore" - owner: "{{ user_name }}" - group: "{{ user_group }}" - mode: '0644' - - - name: check if {{ path_init }}/.git exists - stat: - path: "{{ path_init }}/.git" - register: p - changed_when: false - - - debug: - msg: " Path exists not and is not a directory" - when: p.stat.exists == false - - - name: Initialisiere leeres Repo innerhalb von {{ path_init }} - command: git init {{ path_init }}/ - when: p.stat.exists == false - - - name: commit changes to git - shell: | - git add . - git -c user.name='{{ user_name }} Playbook' -c user.email='{{ user_name }}@playbook' commit -m "Initialisiere GIT" - exit 0 - args: - chdir: "{{ path_init }}" - when: p.stat.exists == false - - - - - - - - - - - - - - - - - - - - diff --git a/roles/git/tests/inventory b/roles/git/tests/inventory deleted file mode 100644 index 878877b..0000000 --- a/roles/git/tests/inventory +++ /dev/null @@ -1,2 +0,0 @@ -localhost - diff --git a/roles/git/tests/test.yml b/roles/git/tests/test.yml deleted file mode 100644 index af33406..0000000 --- a/roles/git/tests/test.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- -- hosts: localhost - remote_user: root - roles: - - default_role \ No newline at end of file diff --git a/roles/git/vars/main.yml b/roles/git/vars/main.yml deleted file mode 100644 index 3bdb116..0000000 --- a/roles/git/vars/main.yml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# vars file for default_role \ No newline at end of file diff --git a/roles/ams_0015_8.0.9.0_hotfix/README.md b/roles/ora_inst_ahf/README.md similarity index 100% rename from roles/ams_0015_8.0.9.0_hotfix/README.md rename to roles/ora_inst_ahf/README.md diff --git a/roles/ora_inst_ahf/defaults/main.yml b/roles/ora_inst_ahf/defaults/main.yml new file mode 100644 index 0000000..e14d778 --- /dev/null +++ b/roles/ora_inst_ahf/defaults/main.yml @@ -0,0 +1,10 @@ +--- +# defaults file for ora_inst_ahf +# variables + +os_distrib: RedHat # Actually, not only RH, but also OEL, SuSE, Solaris ... +ahf_archive_repo: /sw/oracle/DB/linux +ahf_archive_dir: AHF-LINUX_v22.2.4 +ahf_archive_name: AHF-LINUX_v22.2.4.zip # Downloadable on MOS note 30166242 +ahf_archive_version: "{{ (ahf_archive_name | regex_replace('v|.zip', '_')).split('_')[2] }}" +ahf_install_dir: /opt diff --git a/roles/ora_inst_ahf/handlers/main.yml b/roles/ora_inst_ahf/handlers/main.yml new file mode 100644 index 0000000..720b1aa --- /dev/null +++ b/roles/ora_inst_ahf/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for ora_inst_ahf \ No newline at end of file diff --git a/roles/ams_0013_8.0.9.0/meta/main.yml b/roles/ora_inst_ahf/meta/main.yml similarity index 68% rename from roles/ams_0013_8.0.9.0/meta/main.yml rename to roles/ora_inst_ahf/meta/main.yml index 5d50bf4..3a212a9 100644 --- a/roles/ams_0013_8.0.9.0/meta/main.yml +++ b/roles/ora_inst_ahf/meta/main.yml @@ -7,28 +7,20 @@ galaxy_info: # next line and provide a value # issue_tracker_url: http://example.com/issue/tracker - # Some suggested licenses: - # - BSD (default) + # Choose a valid license ID from https://spdx.org - some suggested licenses: + # - BSD-3-Clause (default) # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) + # - GPL-2.0-or-later + # - GPL-3.0-only + # - Apache-2.0 + # - CC-BY-4.0 + license: license (GPL-2.0-or-later, MIT, etc) min_ansible_version: 2.4 # If this a Container Enabled role, provide the minimum Ansible Container version. # min_ansible_container_version: - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - # # Provide a list of supported platforms, and for each platform a list of versions. # If you don't wish to enumerate all versions for a particular platform, use 'all'. @@ -57,4 +49,5 @@ galaxy_info: dependencies: [] # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file + # if you add dependencies to this list. + \ No newline at end of file diff --git a/roles/ora_inst_ahf/tasks/main.yml b/roles/ora_inst_ahf/tasks/main.yml new file mode 100644 index 0000000..c5b193b --- /dev/null +++ b/roles/ora_inst_ahf/tasks/main.yml @@ -0,0 +1,87 @@ +--- +# tasks file for ora_inst_ahf + + - name: Check OS distribution + setup: + filter: distribution + failed_when: ansible_distribution != os_distrib + + - name: Check OS version + setup: + filter: distribution + failed_when: ansible_distribution_version is version('4', '<') + + - name: Check if AHF is already installed + stat: + path: "{{ ahf_install_dir }}/ahf/oracle.ahf/bin/tfactl" + register: stat_ahf + + + - name: Get current version of already installed AHF - set -o pipefail && {{ ahf_install_dir }}/ahf/oracle.ahf/bin/tfactl version | cut -d' ' -f4 | head -n 1 + shell: "set -o pipefail && {{ ahf_install_dir }}/ahf/oracle.ahf/bin/tfactl version | cut -d' ' -f4 | head -n 1" + register: ahf_current_version + when: stat_ahf.stat.exists + + +# - name: End execution if AHF is already installed with this version or higher +# meta: end_host +# when: +# - stat_ahf.stat.exists +##Versionscheck rausgenommen, da die Versionsausgabe cli und das Zipfile nicht vergleichbar sind +## - ahf_current_version.stdout is version(ahf_archive_version, '>=') + + +# - name: Uninstall existing ahf installation +# shell: "{{ ahf_install_dir }}/ahf/oracle.ahf/bin/tfactl uninstall -silent" +# when: stat_ahf.stat.exists + +# - name: Unzip ahf archive {{ ahf_archive_repo }}/{{ ahf_archive_name }} to {{ ahf_install_dir }} +# unarchive: +# src: "{{ ahf_archive_repo }}/{{ ahf_archive_name }}" +# dest: "{{ ahf_install_dir }}/ahf_setup" +# remote_src: yes +# mode: 0755 + + - name: Create ahf installation directory + file: + path: "{{ ahf_install_dir }}/ahf" + state: directory + mode: 0755 + + - name: Create ahf-data directory + file: + path: "{{ ahf_install_dir }}/ahf/data" + state: directory + mode: 0755 + + - name: Run ahf installer {{ ahf_archive_repo }}/{{ ahf_archive_dir }}/ahf_setup -silent -ahf_loc {{ ahf_install_dir }}/ahf -data_dir {{ ahf_install_dir }}/ahf/data + shell: "{{ ahf_archive_repo }}/{{ ahf_archive_dir }}/ahf_setup -silent -ahf_loc {{ ahf_install_dir }}/ahf -data_dir {{ ahf_install_dir }}/ahf/data" + + +# - name: Clean up ahf installer +# file: +# path: "{{ ahf_install_dir }}/ahf_setup" +# state: absent + +############################################################## +#Der Aufruf des Checks kommt bei der Softwareinstallation +############################################################## +# - name: Clean up ahf README.txt +# file: +# path: "{{ ahf_install_dir }}/README.txt" +# state: absent +# + +# - name: Run orachk with option nordbms +# expect: +# command: "{{ ahf_install_dir }}/ahf/oracle.ahf/bin/orachk -profile preinstall -nordbms" +# responses: +# '(?m)^This computer is for ': "S" +## '(?m)^RDBMS binaries found at ': "Y" +# timeout: null +# register: orachk_output + + + # - name: Show orachk result + # debug: + ## msg: "{{ orachk_output.stdout_lines }}" diff --git a/roles/ams_0008_8.0.8.0/tests/inventory b/roles/ora_inst_ahf/tests/inventory similarity index 100% rename from roles/ams_0008_8.0.8.0/tests/inventory rename to roles/ora_inst_ahf/tests/inventory diff --git a/roles/ams_0008_8.0.8.0_AdminServer/tests/test.yml b/roles/ora_inst_ahf/tests/test.yml similarity index 74% rename from roles/ams_0008_8.0.8.0_AdminServer/tests/test.yml rename to roles/ora_inst_ahf/tests/test.yml index af33406..bda287c 100644 --- a/roles/ams_0008_8.0.8.0_AdminServer/tests/test.yml +++ b/roles/ora_inst_ahf/tests/test.yml @@ -2,4 +2,4 @@ - hosts: localhost remote_user: root roles: - - default_role \ No newline at end of file + - ora_inst_ahf \ No newline at end of file diff --git a/roles/ora_inst_ahf/vars/main.yml b/roles/ora_inst_ahf/vars/main.yml new file mode 100644 index 0000000..64c51e7 --- /dev/null +++ b/roles/ora_inst_ahf/vars/main.yml @@ -0,0 +1,2 @@ +--- +# vars file for ora_inst_ahf \ No newline at end of file diff --git a/roles/ams_0016_14.1.2.0/README.md b/roles/tvd/README.md similarity index 100% rename from roles/ams_0016_14.1.2.0/README.md rename to roles/tvd/README.md diff --git a/roles/tvd/defaults/main.yml b/roles/tvd/defaults/main.yml new file mode 100644 index 0000000..e14d778 --- /dev/null +++ b/roles/tvd/defaults/main.yml @@ -0,0 +1,10 @@ +--- +# defaults file for ora_inst_ahf +# variables + +os_distrib: RedHat # Actually, not only RH, but also OEL, SuSE, Solaris ... +ahf_archive_repo: /sw/oracle/DB/linux +ahf_archive_dir: AHF-LINUX_v22.2.4 +ahf_archive_name: AHF-LINUX_v22.2.4.zip # Downloadable on MOS note 30166242 +ahf_archive_version: "{{ (ahf_archive_name | regex_replace('v|.zip', '_')).split('_')[2] }}" +ahf_install_dir: /opt diff --git a/roles/tvd/handlers/main.yml b/roles/tvd/handlers/main.yml new file mode 100644 index 0000000..720b1aa --- /dev/null +++ b/roles/tvd/handlers/main.yml @@ -0,0 +1,2 @@ +--- +# handlers file for ora_inst_ahf \ No newline at end of file diff --git a/roles/ams_0008_8.0.8.0/meta/main.yml b/roles/tvd/meta/main.yml similarity index 68% rename from roles/ams_0008_8.0.8.0/meta/main.yml rename to roles/tvd/meta/main.yml index 5d50bf4..3a212a9 100644 --- a/roles/ams_0008_8.0.8.0/meta/main.yml +++ b/roles/tvd/meta/main.yml @@ -7,28 +7,20 @@ galaxy_info: # next line and provide a value # issue_tracker_url: http://example.com/issue/tracker - # Some suggested licenses: - # - BSD (default) + # Choose a valid license ID from https://spdx.org - some suggested licenses: + # - BSD-3-Clause (default) # - MIT - # - GPLv2 - # - GPLv3 - # - Apache - # - CC-BY - license: license (GPLv2, CC-BY, etc) + # - GPL-2.0-or-later + # - GPL-3.0-only + # - Apache-2.0 + # - CC-BY-4.0 + license: license (GPL-2.0-or-later, MIT, etc) min_ansible_version: 2.4 # If this a Container Enabled role, provide the minimum Ansible Container version. # min_ansible_container_version: - # Optionally specify the branch Galaxy will use when accessing the GitHub - # repo for this role. During role install, if no tags are available, - # Galaxy will use this branch. During import Galaxy will access files on - # this branch. If Travis integration is configured, only notifications for this - # branch will be accepted. Otherwise, in all cases, the repo's default branch - # (usually master) will be used. - #github_branch: - # # Provide a list of supported platforms, and for each platform a list of versions. # If you don't wish to enumerate all versions for a particular platform, use 'all'. @@ -57,4 +49,5 @@ galaxy_info: dependencies: [] # List your role dependencies here, one per line. Be sure to remove the '[]' above, - # if you add dependencies to this list. \ No newline at end of file + # if you add dependencies to this list. + \ No newline at end of file diff --git a/roles/tvd/tasks/.main.yml.swp b/roles/tvd/tasks/.main.yml.swp new file mode 100644 index 0000000..6098bba Binary files /dev/null and b/roles/tvd/tasks/.main.yml.swp differ diff --git a/roles/tvd/tasks/main.yml b/roles/tvd/tasks/main.yml new file mode 100644 index 0000000..13aaba2 --- /dev/null +++ b/roles/tvd/tasks/main.yml @@ -0,0 +1,59 @@ +--- +# tasks file TVD +- name: display pre database software install message + remote_user: root + debug: + msg: + - 'TVD Basenenv Installation' + +- name: clean old responsefile + file: + path: /tmp/basenv_install.rsp + state: absent + +- name: copy responsfile for tvdbasenv + when: inventory_hostname in groups['dbservers'] + become: yes + become_user: oracle + template: src=roles/tvd/templates/basenv.rsp.j2 dest=/tmp/basenv_install.rsp mode=0755 + tags: + - tvd_responsefile + +- name: Create ahf installation directory + file: + path: "/opt/oracle/etc" + state: directory + mode: 0755 + owner: oracle + group: dba + +- name: Create a symbolic link to etc/oratab + file: + src: /etc/oratab + dest: /opt/oracle/etc/oratab + force: yes + owner: oracle + group: dba + state: link + +- name: Install basenv + become: true + become_user: oracle + shell: | + cd {{ install_dir }} + ./runInstaller -s -r /tmp/basenv_install.rsp + register: basenv_installation + failed_when: "'Error:' in basenv_installation.stdout" + +# Konfiguration +- name: Remove TVDPERLBIN + lineinfile: + path: /home/oracle/.TVDPERL_HOME + state: absent + regexp: '(?m)^export TVDPERLLIB.*' + +- name: Add TVDPERLBIN + lineinfile: + path: /home/oracle/.TVDPERL_HOME + line: export TVDPERLBIN=/usr/bin/perl + create: yes diff --git a/roles/tvd/templates/basenv.rsp.j2 b/roles/tvd/templates/basenv.rsp.j2 new file mode 100644 index 0000000..11f753b --- /dev/null +++ b/roles/tvd/templates/basenv.rsp.j2 @@ -0,0 +1,15 @@ +Tvdperl_Is_Perl="NO" +Be_Oracle="YES" +Oracle_Base={{ oracle_base }} +Oracle_Home={{ oracle_home }} +Tns_Admin={{ oracle_base }}/network/admin +Install_Dir={{ oracle_base }}/trivadis/local +Config_Tns="2" +Names_Default_Domain="{{ ansible_fqdn }}" +Be_Etc="/opt/oracle/etc" +config_oinstall="YES" +Install_Profile="A" +Be_Mysql="NO" +Use_Oracleperl="YES" +Ignore_SeLinux="YES" + diff --git a/roles/ams_0008_8.0.8.0_AdminServer/tests/inventory b/roles/tvd/tests/inventory similarity index 100% rename from roles/ams_0008_8.0.8.0_AdminServer/tests/inventory rename to roles/tvd/tests/inventory diff --git a/roles/ams_0014_14.0.2.0/tests/test.yml b/roles/tvd/tests/test.yml similarity index 74% rename from roles/ams_0014_14.0.2.0/tests/test.yml rename to roles/tvd/tests/test.yml index af33406..bda287c 100644 --- a/roles/ams_0014_14.0.2.0/tests/test.yml +++ b/roles/tvd/tests/test.yml @@ -2,4 +2,4 @@ - hosts: localhost remote_user: root roles: - - default_role \ No newline at end of file + - ora_inst_ahf \ No newline at end of file diff --git a/roles/tvd/vars/main.yml b/roles/tvd/vars/main.yml new file mode 100644 index 0000000..1d49989 --- /dev/null +++ b/roles/tvd/vars/main.yml @@ -0,0 +1,5 @@ +--- +# vars file for TVD +oracle_base: /opt/oracle +oracle_home: /opt/oracle/db/19.13 +install_dir: /sw/TVD/2205/dbstar_basenv_22.05.final.a diff --git a/teaching/hosts b/teaching/hosts index c88225c..5346f60 100644 --- a/teaching/hosts +++ b/teaching/hosts @@ -11,6 +11,3 @@ # Ex 1: Ungrouped hosts, specify before any group headers. [teaching] -spolsa5069stu02.spolizei-bw.edu - -