geerlingguy / ansible-role-adminer Goto Github PK
View Code? Open in Web Editor NEWThis project forked from oefenweb/ansible-adminer
Ansible Role - Adminer
Home Page: https://galaxy.ansible.com/geerlingguy/adminer/
License: MIT License
This project forked from oefenweb/ansible-adminer
Ansible Role - Adminer
Home Page: https://galaxy.ansible.com/geerlingguy/adminer/
License: MIT License
FAILED! => {"changed": false, "dest": "/opt/adminer/index.php", "elapsed": 0, "gid": 0, "group": "root", "mode": "0644", "msg": "Request failed", "owner": "root", "response": "HTTP Error 404: Not Found", "size": 491973, "state": "file", "status_code": 404, "uid": 0, "url": "https://www.adminer.org/latest.php"}
https://www.adminer.org/latest.php seems to be a 404 now.
See related issue: geerlingguy/drupal-vm#2120
See: geerlingguy/drupal-vm#1275
Some other users have reported the same issue—a timeout in the get_url
step for the http://www.adminer.com/latest.php URL.
TASK [geerlingguy.adminer : Download Adminer to configured directory.] *********
fatal: [nidcr]: FAILED! => {"changed": false, "dest": "/opt/adminer/index.php", "elapsed": 0, "msg": "Request failed", "response": "HTTP Error 404: Not Found", "status_code": 404, "url": "https://www.adminer.org/latest.php"}
Currently the url to download the latest version is down or permanently removed (?). I couldn't find any more information on this.
We could at least provide a variable for the url so that downstream projects could solve it if it's temporary.
When I want to use Adminer with Nginx, or manual vhosts configuration in Apache, it's a lot simpler to just use index.php
so I can point a server or vhost right at the adminer docroot, and people can access adminer at a subdomain... so add adminer_install_filename
.
Currently the task that copies the configuration in place is broken on Ubuntu 12.04 LTS when Apache 2.4+ is installed.
As the title says... basically port everything over to using the same containers but tested with Molecule instead of my test.sh script.
It looks like this role depends on the Apache role to work properly, since there are a few variables that seem to be defined in that which are missing from here.
Specific errors I'm getting when setting this up on raspberry pi are
'apache_vhosts_version' is undefined
'apache_conf_path' is undefined
I think this requires geerlingguy.apache in order to run properly. I'm going to set that up and see if it resolves the issue.
It could also be a good idea to add task to download an adminer theme. When looking at the documentation they are all hosted in the same place with a different template name.
At task like this should be easy to add to your existing recipe:
- vars:
adminer_theme: "pappu687" # could be "hever", "nette", "brave", ...
- name: "Download adminer {{ adminer_theme }} theme"
get_url:
url: https://raw.githubusercontent.com/vrana/adminer/master/designs/{{ adminer_theme }}/adminer.css
dest: "{{ adminer_install_dir }}"
mode: 0644
Thanks !
It could be a good idea to add a variable letting user to decide which version of adminer he wants.
From documentation https://www.adminer.org/latest[-mysql][-en].php
(only mysql version AND / OR only english language)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.