Tomcat. Jenkins and apache tuning.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
become: yes
|
||||
roles:
|
||||
- { role: apache2config }
|
||||
- { role: tomcat8 }
|
||||
vars:
|
||||
tmpl:
|
||||
- { file: "101-syncthing", value: 'Use ProxyHost "syncthing.rudolf" "/" "http://localhost:{{ syncthing_port }}/" "syncthing.rudolf"' }
|
||||
|
||||
@@ -26,11 +26,10 @@
|
||||
- { name: macro , state: present }
|
||||
- { name: auth_openidc , state: present }
|
||||
- { name: ssl , state: present }
|
||||
- { name: cgi , state: present }
|
||||
- { name: cgid , state: present }
|
||||
# - { name: ssl , state: absent }
|
||||
notify:
|
||||
- restart apache2
|
||||
ignore_errors: True
|
||||
|
||||
- name: apache running
|
||||
service:
|
||||
|
||||
@@ -21,6 +21,7 @@
|
||||
detach: True
|
||||
net: default
|
||||
restart_policy: always
|
||||
memory_limit: 1024MB
|
||||
volumes:
|
||||
- "/var/jenkins:/var/jenkins_home"
|
||||
# - "/var/run/docker.sock:/var/run/docker.sock"
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
- name: restart tomcat8
|
||||
service: name=tomcat8 state=restarted
|
||||
@@ -0,0 +1,8 @@
|
||||
galaxy_info:
|
||||
author: your name
|
||||
description: your description
|
||||
company: your company (optional)
|
||||
license: license (GPLv2, CC-BY, etc)
|
||||
min_ansible_version: 1.2
|
||||
galaxy_tags: []
|
||||
dependencies: []
|
||||
@@ -0,0 +1,9 @@
|
||||
- name: install tomcat8
|
||||
apt: name=tomcat8 update_cache=yes state=latest
|
||||
|
||||
- name: tomcat8 running
|
||||
service:
|
||||
name: tomcat8
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
Reference in New Issue
Block a user