Giter Site home page Giter Site logo

oefenweb / ansible-percona-client Goto Github PK

View Code? Open in Web Editor NEW
2.0 3.0 4.0 106 KB

Ansible role to set up percona-server client in Debian-like systems

License: MIT License

Dockerfile 40.36% Jinja 59.64%
debian percona-client percona-server ssl mysql database ansible ubuntu

ansible-percona-client's Introduction

percona-client

CI Ansible Galaxy

Set up a percona-server client in Debian-like systems.

Requirements

  • software-properties-common (will be installed)
  • dirmngr (will be installed)

Variables

  • percona_client_version: [default: 5.6]: Version to install (e.g. 5.7)

  • percona_client_install: [default: []]: Additional packages to install

  • percona_client_my_cnf_files: [default: []]: .my.cnf files to configure

  • percona_client_my_cnf_files.{n}.dest: [optional, default: ~owner/.my.cnf']: The remote path of the file to copy

  • percona_client_my_cnf_files.{n}.owner: [required]: The name of the user that should own the file

  • percona_client_my_cnf_files.{n}.group: [optional, default: owner]: The name of the group that should own the file

  • percona_client_my_cnf_files.{n}.mode: [optional, default: 0600]: The mode of the file

  • percona_client_my_cnf_files.{n}.login_host: [optional, default: localhost]: The host running the server

  • percona_client_my_cnf_files.{n}.login_port: [optional, default: 3306]: The port of the server

  • percona_client_my_cnf_files.{n}.login_user: [optional, default: owner]: The username used to authenticate with

  • percona_client_my_cnf_files.{n}.login_password: [required]: The password used to authenticate with

  • percona_client_my_cnf_files.{n}.ssl: [optional]: Whether or not to use SSL when connection (deprecated as of 5.7.11 and is removed in 8.0)

  • percona_client_my_cnf_files.{n}.ssl_mode: [optional]: Specifies the desired security state of the connection to the server (e.g. VERIFY_CA)

  • percona_client_my_cnf_files.{n}.ssl_ca: [optional, default: ca-cert]: The identifier of the ca certificate file in ssl map

  • percona_client_my_cnf_files.{n}.ssl_cert: [optional, default: client-cert]: The identifier of the ssl certificate file in ssl map

  • percona_client_my_cnf_files.{n}.ssl_key: [optional, default: client-key]: The identifier of the ssl key file in ssl map

  • percona_client_ssl_map: [default: {}]: SSL declarations

  • percona_client_ssl_map.key: [required]: The identifier of the file (e.g. ca-cert)

  • percona_client_ssl_map.key.src: [required]: The local path of the file to copy, can be absolute or relative (e.g. ../../../files/percona-client/etc/mysql/ca-cert.pem)

  • percona_client_ssl_map.key.dest: [required]: The remote path of the file to copy (e.g. /etc/mysql/ca-cert.pem)

  • percona_client_ssl_map.key.owner: [optional, default root]: The name of the user that should own the file

  • percona_client_ssl_map.key.group: [optional, default mysql]:The name of the group that should own the file

  • percona_client_ssl_map.key.mode: [optional, default 0640]: The mode of the file

Dependencies

None

Recommended

  • percona-server (see)

Example(s)

Simple
---
- hosts: all
  roles:
    - oefenweb.percona-client
With .my.cnf file(s)
---
- hosts: all
  roles:
    - oefenweb.percona-client
  vars:
    percona_client_my_cnf_files:
      - dest: '~root/.my.cnf'
        owner: root
        group: root
        mode: '0600'
        login_host: localhost
        login_port: 3306
        login_user: root
        login_password: 'pw4Root'

      - owner: vagrant
        login_password: 'pw4Vagrant'

License

MIT

Author Information

Mischa ter Smitten

Feedback, bug-reports, requests, ...

Are welcome!

ansible-percona-client's People

Contributors

memberit avatar mvdriel avatar tersmitten avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-percona-client's Issues

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.