mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-02-03 01:28:39 +08:00
add phpmyadmin
This commit is contained in:
parent
e6479d7004
commit
f44e8a1a4d
@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
dependencies: []
|
dependencies: [phpmyadmin]
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author:
|
author:
|
||||||
@ -16,4 +16,3 @@ galaxy_info:
|
|||||||
- 18.04
|
- 18.04
|
||||||
|
|
||||||
galaxy_tags:
|
galaxy_tags:
|
||||||
|
|
||||||
|
1
apps/roles/phpmyadmin/CHANGELOG.md
Normal file
1
apps/roles/phpmyadmin/CHANGELOG.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# CHANGELOG
|
0
apps/roles/phpmyadmin/Notes.md
Normal file
0
apps/roles/phpmyadmin/Notes.md
Normal file
1
apps/roles/phpmyadmin/README.md
Normal file
1
apps/roles/phpmyadmin/README.md
Normal file
@ -0,0 +1 @@
|
|||||||
|
# Template for create application
|
0
apps/roles/phpmyadmin/defaults/main.yml
Normal file
0
apps/roles/phpmyadmin/defaults/main.yml
Normal file
0
apps/roles/phpmyadmin/files/template.service
Normal file
0
apps/roles/phpmyadmin/files/template.service
Normal file
1
apps/roles/phpmyadmin/handlers/main.yml
Normal file
1
apps/roles/phpmyadmin/handlers/main.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
18
apps/roles/phpmyadmin/meta/main.yml
Normal file
18
apps/roles/phpmyadmin/meta/main.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
dependencies: []
|
||||||
|
|
||||||
|
galaxy_info:
|
||||||
|
author:
|
||||||
|
description:
|
||||||
|
company:
|
||||||
|
license:
|
||||||
|
min_ansible_version:
|
||||||
|
platforms:
|
||||||
|
- name: EL
|
||||||
|
versions:
|
||||||
|
- 7
|
||||||
|
- name: Ubuntu
|
||||||
|
versions:
|
||||||
|
- 18.04
|
||||||
|
|
||||||
|
galaxy_tags:
|
0
apps/roles/phpmyadmin/tasks/Debian.yml
Normal file
0
apps/roles/phpmyadmin/tasks/Debian.yml
Normal file
0
apps/roles/phpmyadmin/tasks/RedHat.yml
Normal file
0
apps/roles/phpmyadmin/tasks/RedHat.yml
Normal file
20
apps/roles/phpmyadmin/tasks/main.yml
Normal file
20
apps/roles/phpmyadmin/tasks/main.yml
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
- name: Clone phpmyadmin in Websoft9
|
||||||
|
git:
|
||||||
|
repo: "https://github.com/Websoft9/docker-phpmyadmin.git"
|
||||||
|
dest: "{{installpath}}/phpmyadmin"
|
||||||
|
|
||||||
|
- name: Docker compose up
|
||||||
|
shell: |
|
||||||
|
docker compose up -d
|
||||||
|
sleep 30
|
||||||
|
args:
|
||||||
|
chdir: "{{installpath}}/phpmyadmin"
|
||||||
|
|
||||||
|
- name: wait for phpmyadmin start
|
||||||
|
wait_for:
|
||||||
|
port: "9090"
|
||||||
|
delay: 10
|
||||||
|
timeout: 120
|
||||||
|
|
||||||
|
- name: Check phpmyadmin Version
|
||||||
|
shell: sudo echo "phpmyadmin version $(docker exec -i phpmyadmin bash -c 'cat /var/www/html/package.json | grep version')" 1>> /data/logs/install_version.txt
|
0
apps/roles/phpmyadmin/templates/template.conf
Normal file
0
apps/roles/phpmyadmin/templates/template.conf
Normal file
1
apps/roles/phpmyadmin/vars/main.yml
Normal file
1
apps/roles/phpmyadmin/vars/main.yml
Normal file
@ -0,0 +1 @@
|
|||||||
|
|
Loading…
Reference in New Issue
Block a user