Git Product home page Git Product logo

ansible-role-adminer's People

Contributors

geerlingguy avatar killua-eu avatar tersmitten avatar tonystar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

ansible-role-adminer's Issues

https://www.adminer.org/latest.php is down

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.

Allow configuration of Adminer's filename

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.

Switch tests to use Molecule

As the title says... basically port everything over to using the same containers but tested with Molecule instead of my test.sh script.

Error - Apache vhosts version undefined

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.

Add option to download adminer theme

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 !

Custom adminer version to install

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.