Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bcoca/db.mysql
https://github.com/bcoca/db.mysql
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/bcoca/db.mysql
- Owner: bcoca
- Created: 2020-03-26T16:16:16.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-03-30T19:47:40.000Z (over 4 years ago)
- Last Synced: 2024-10-25T18:13:53.245Z (about 2 months ago)
- Size: 2.93 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mysql 'shorcuts' Collection for Ansible
This repo hosts a 'shortcut' collection for msqyl plugins hosted in existing collections but with names too long to bother with.
## Included content
This is a 'meta' collection so it realy only includes references to other collections.
## Installation and Usage
### Installing the Collection from Ansible Galaxy
Before using the collection, you need to install it with the Ansible Galaxy CLI:
ansible-galaxy collection install ./db.mysql.tgz
### Installing the mysql Python Library
You can use your package manager of preferences or:
pip3 install mysql
### Using modules in your playbooks
You can either call actions by their Fully Qualified Collection Namespace (FQCN), like `db.mysql.user`, or you can call modules by their short name if you list the `user` collection in the playbook's `collections`, like so:
```yaml
---
- hosts: localhost
gather_facts: false
connection: localcollections:
- db.mysqltasks:
- name: Not to be confused with the ``user`` builtin action
user:
host: localhost
password: imnottellingyou
name: myappuser
state: present
```For documentation on how to use individual modules and other content included in this collection, please see the links in the 'Included content' section earlier in this README.
## Testing and Development
Some day?
## More Information
No
## License
GNU General Public License v3.0 or later
See LICENCE to see the full text.