add phpmyadmin

This commit is contained in:
qiaofeng1227 2022-06-27 16:35:45 +08:00
parent e6479d7004
commit f44e8a1a4d
13 changed files with 47 additions and 6 deletions

View File

@ -1,12 +1,12 @@
---
dependencies: []
dependencies: [phpmyadmin]
galaxy_info:
author:
author:
description:
company:
license:
min_ansible_version:
company:
license:
min_ansible_version:
platforms:
- name: EL
versions:
@ -16,4 +16,3 @@ galaxy_info:
- 18.04
galaxy_tags:

View File

@ -0,0 +1 @@
# CHANGELOG

View File

View File

@ -0,0 +1 @@
# Template for create application

View File

View File

@ -0,0 +1 @@

View 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:

View File

View File

View 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

View File

@ -0,0 +1 @@