Code Monkey home page Code Monkey logo

mariadb's Introduction

mariadb

Build Status GitHub

Ansible role to setup MariaDB server. For all available options, please have a look at the documentation.

License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.

mariadb's People

Contributors

d7oc avatar enbrnz avatar ownclouders avatar xoxys avatar

Watchers

 avatar  avatar  avatar

Forkers

mihauck yg382 d7oc

mariadb's Issues

Task: "Create error log file" fails with "Unsupported parameters for (file) module"

This is the whole error ouput:

TASK [mariadb : Create error log file] *****************************************

fatal: [db1]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (file) module: access_time, modification_time Supported parameters include: _diff_peek, _original_basename, attributes, backup, content, delimiter, directory_mode, follow, force, group, mode, owner, path, recurse, regexp, remote_src, selevel, serole, setype, seuser, src, state, unsafe_writes"}

TASK [mariadb : Get list of hosts for the root user.] fails when ansible runs in --check mode

I would like to be able to verify that my installation will succeed prior to actually changing configurations and installing software.

Ansible doesn’t provide roll-back mechanisms. To test a playbook I would like to be able to utilize e.g. ansible-playbook -i inventories/rheL7-full/hosts playbooks/setup.yml --check. Apparently this fails when the database server isn’t ready yet.

TASK [mysql : Get list of hosts for the root user.] ***********************************************************************************************************************************************
fatal: [db1]: FAILED! => {“changed”: false, “cmd”: [“mysql”, “-NBe”, “SELECT Host FROM mysql.user WHERE User = ‘root’ ORDER BY (Host=‘localhost’) ASC”], “delta”: “0:00:00.005282”, 
“end”: “2019-11-07 19:08:40.719975”, “msg”: “non-zero return code”, “rc”: 1, “start”: “2019-11-07 19:08:40.714693”, “stderr”: “ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)”, 
“stderr_lines”: [“ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)”], “stdout”: “”, “stdout_lines”: []}

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.