From e4077afa665214415b78933136d58c8a4d158ba4 Mon Sep 17 00:00:00 2001 From: qiaofeng1227 Date: Sat, 16 Jul 2022 01:04:12 +0000 Subject: [PATCH] new vendor --- apps/add | 2 +- apps/roles/runtime/CHANGELOG.md | 18 ++++++++++++++++++ apps/roles/runtime/Notes.md | 0 apps/roles/runtime/README.md | 1 + apps/roles/runtime/defaults/main.yml | 0 apps/roles/runtime/files/template.conf | 0 apps/roles/runtime/handlers/main.yml | 3 +++ apps/roles/runtime/meta/main.yml | 21 +++++++++++++++++++++ apps/roles/runtime/tasks/Debian.yml | 0 apps/roles/runtime/tasks/RedHat.yml | 0 apps/roles/runtime/tasks/main.yml | 10 ++++++++++ apps/roles/runtime/tasks/pre.yml | 1 + apps/roles/runtime/templates/template.conf | 0 apps/roles/runtime/vars/main.yml | 1 + 14 files changed, 56 insertions(+), 1 deletion(-) create mode 100644 apps/roles/runtime/CHANGELOG.md create mode 100644 apps/roles/runtime/Notes.md create mode 100644 apps/roles/runtime/README.md create mode 100644 apps/roles/runtime/defaults/main.yml create mode 100644 apps/roles/runtime/files/template.conf create mode 100644 apps/roles/runtime/handlers/main.yml create mode 100644 apps/roles/runtime/meta/main.yml create mode 100644 apps/roles/runtime/tasks/Debian.yml create mode 100644 apps/roles/runtime/tasks/RedHat.yml create mode 100644 apps/roles/runtime/tasks/main.yml create mode 100644 apps/roles/runtime/tasks/pre.yml create mode 100644 apps/roles/runtime/templates/template.conf create mode 100644 apps/roles/runtime/vars/main.yml diff --git a/apps/add b/apps/add index e4d05d91..8b137891 100644 --- a/apps/add +++ b/apps/add @@ -1 +1 @@ -runtime + diff --git a/apps/roles/runtime/CHANGELOG.md b/apps/roles/runtime/CHANGELOG.md new file mode 100644 index 00000000..ceb70b48 --- /dev/null +++ b/apps/roles/runtime/CHANGELOG.md @@ -0,0 +1,18 @@ +# CHANGELOG + +## To do + +1. 可视化管理工具 +2. AmazonLinux支持 + +## Logs + +### Bug Fixes + +* 2020-02-14 redis-version版本输出 +* 2020-02-13 redis-version版本输出 + +### Features + +* 2020-02-14 增加GUI工具 +* 2020-02-13 增加2.8版本 \ No newline at end of file diff --git a/apps/roles/runtime/Notes.md b/apps/roles/runtime/Notes.md new file mode 100644 index 00000000..e69de29b diff --git a/apps/roles/runtime/README.md b/apps/roles/runtime/README.md new file mode 100644 index 00000000..07b1ee8f --- /dev/null +++ b/apps/roles/runtime/README.md @@ -0,0 +1 @@ +# Template for create application \ No newline at end of file diff --git a/apps/roles/runtime/defaults/main.yml b/apps/roles/runtime/defaults/main.yml new file mode 100644 index 00000000..e69de29b diff --git a/apps/roles/runtime/files/template.conf b/apps/roles/runtime/files/template.conf new file mode 100644 index 00000000..e69de29b diff --git a/apps/roles/runtime/handlers/main.yml b/apps/roles/runtime/handlers/main.yml new file mode 100644 index 00000000..0750cd48 --- /dev/null +++ b/apps/roles/runtime/handlers/main.yml @@ -0,0 +1,3 @@ +- name: check_rabbitmq_service + debug: + var: check_rabbitmq_service.stdout diff --git a/apps/roles/runtime/meta/main.yml b/apps/roles/runtime/meta/main.yml new file mode 100644 index 00000000..9d0ee241 --- /dev/null +++ b/apps/roles/runtime/meta/main.yml @@ -0,0 +1,21 @@ +--- +dependencies: [] + +allow_duplicates: true + +galaxy_info: + author: + description: + company: + license: + min_ansible_version: + platforms: + - name: EL + versions: + - 7 + - name: Ubuntu + versions: + - 18.04 + + galaxy_tags: + diff --git a/apps/roles/runtime/tasks/Debian.yml b/apps/roles/runtime/tasks/Debian.yml new file mode 100644 index 00000000..e69de29b diff --git a/apps/roles/runtime/tasks/RedHat.yml b/apps/roles/runtime/tasks/RedHat.yml new file mode 100644 index 00000000..e69de29b diff --git a/apps/roles/runtime/tasks/main.yml b/apps/roles/runtime/tasks/main.yml new file mode 100644 index 00000000..ad28963d --- /dev/null +++ b/apps/roles/runtime/tasks/main.yml @@ -0,0 +1,10 @@ +- name: Install {{appname}} + include_tasks: tasks/install.yml + vars: + app: "Template" + +- name: wait for {{appname}} start + wait_for: + port: "{{nginx_reverse_proxy_port}}" + delay: 10 + timeout: 120 diff --git a/apps/roles/runtime/tasks/pre.yml b/apps/roles/runtime/tasks/pre.yml new file mode 100644 index 00000000..d3f5a12f --- /dev/null +++ b/apps/roles/runtime/tasks/pre.yml @@ -0,0 +1 @@ + diff --git a/apps/roles/runtime/templates/template.conf b/apps/roles/runtime/templates/template.conf new file mode 100644 index 00000000..e69de29b diff --git a/apps/roles/runtime/vars/main.yml b/apps/roles/runtime/vars/main.yml new file mode 100644 index 00000000..2c5d623e --- /dev/null +++ b/apps/roles/runtime/vars/main.yml @@ -0,0 +1 @@ +nginx_reverse_proxy_port: "9001"