Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mar/databases playbooks #13

Merged
merged 15 commits into from
Oct 9, 2023
Merged

Mar/databases playbooks #13

merged 15 commits into from
Oct 9, 2023

Conversation

marbonilla
Copy link
Contributor

Description

This PR adds the playbooks, tasks, and configurations necessary to provision MongoDB 4.4 and MySQL 8.0 databases.

How to test it?

To test it, you can use this documentation to use Ansible, then use the mysql_8_0.yml and mongo_4_4.yml playbooks with this command:

ansible-playbook mysql_8_0.yml -i ../manifests-template/inventory/hosts.ini -v

marbonilla and others added 3 commits September 27, 2023 14:51
* feat: add backup ansible playbooks

* fix: remove azure storage option

* fix: delete az options

* fix: delete az comments

* fix: update variables and backups instructions

* fix: update mysql database variable

* fix: include default --all-databases

* fix: update mongo backup extension

* fix: name upload storage step

* fix: name mysql databases

* chore: adding docs and small refactoring

* fix: S3 storage path

* fix: add character validator "/"

---------

Co-authored-by: jfavellar90 <jhony.avella@edunext.co>
@marbonilla marbonilla requested a review from a team as a code owner October 4, 2023 19:49
mongo_4_4.yml Show resolved Hide resolved
roles/mongo_4_4/defaults/main.yml Show resolved Hide resolved
roles/mongo_4_4/defaults/main.yml Show resolved Hide resolved
roles/mongo_4_4/defaults/main.yml Show resolved Hide resolved
roles/mongo_4_4/defaults/main.yml Outdated Show resolved Hide resolved
roles/mongo_4_4/templates/mongo_logrotate.j2 Outdated Show resolved Hide resolved
roles/mysql_8_0/defaults/main.yml Show resolved Hide resolved
roles/mysql_8_0/defaults/main.yml Outdated Show resolved Hide resolved
roles/mysql_8_0/defaults/main.yml Show resolved Hide resolved
@marbonilla marbonilla merged commit 24bc86e into main Oct 9, 2023
1 check passed
@marbonilla marbonilla deleted the mar/databases-playbooks branch October 9, 2023 21:10
jfavellar90 added a commit that referenced this pull request Oct 9, 2023
* fix: add mysql_config_version for mysql5.7

* fix: set password in task alter_user_root

* feat: add mongo4.4 playbooks

* fix: focal dist for mongo4_4

* fix: define mysql_config inside mysql_8_0

* fix: restore mysqld.conf.j2 in mysql_config

* fix: format yaml

* fix: comments, colletion and unused variables

* fix: add MONGO_LOG_SERVERSTATUS variable

* feat: add support for mongo44 in ubuntu jammy

* chore: add documentation for mongodb compatibility

* chore: add new documentation

---------

Co-authored-by: jfavellar90 <jhony.avella@edunext.co>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants