Tons of updates including erpnext, fusionauth, kong, elasticsearch, postgres-12, opennebula-5.10...
This commit is contained in:
@@ -1,9 +1,9 @@
|
||||
---
|
||||
- name: restart haproxy
|
||||
service: name=haproxy state=restarted
|
||||
service: name=haproxy enabled=yes state=restarted
|
||||
|
||||
- name: reload haproxy
|
||||
service: name=haproxy state=reloaded
|
||||
service: name=haproxy enabled=yes state=reloaded
|
||||
|
||||
- name: restart rsyslog
|
||||
service: name=rsyslog state=restarted
|
||||
service: name=rsyslog enabled=yes state=restarted
|
||||
|
||||
1070
web/kong-2.0.3/files/original/kong.conf.default
Normal file
1070
web/kong-2.0.3/files/original/kong.conf.default
Normal file
File diff suppressed because it is too large
Load Diff
13
web/kong-2.0.3/files/original/kong.logrotate
Normal file
13
web/kong-2.0.3/files/original/kong.logrotate
Normal file
@@ -0,0 +1,13 @@
|
||||
/usr/local/kong/logs/*.log {
|
||||
rotate 14
|
||||
daily
|
||||
missingok
|
||||
compress
|
||||
notifempty
|
||||
sharedscripts
|
||||
postrotate
|
||||
if [ -f /usr/local/kong/pids/nginx.pid ]; then
|
||||
kill -USR1 `cat /usr/local/kong/pids/nginx.pid`
|
||||
fi
|
||||
endscript
|
||||
}
|
||||
17
web/kong-2.0.3/tasks/main.yml
Normal file
17
web/kong-2.0.3/tasks/main.yml
Normal file
@@ -0,0 +1,17 @@
|
||||
---
|
||||
# Add GPG keys
|
||||
- name: Addding Kong sources GPG key
|
||||
apt_key: url='https://bintray.com/user/downloadSubjectPublicKey?username=bintray' state=present
|
||||
|
||||
# Add Kong repositories for Debian 10
|
||||
- name: Adding Kong sources for Debian 10 Jessie
|
||||
apt_repository: repo='deb https://kong.bintray.com/kong-deb buster main' state=present
|
||||
when: ansible_os_family == "Debian" and ansible_distribution_major_version == "10"
|
||||
|
||||
# Install Kong
|
||||
- name: Installing Kong
|
||||
apt:
|
||||
update_cache: yes
|
||||
state: present
|
||||
name:
|
||||
- kong=2.0.3
|
||||
Reference in New Issue
Block a user