From 3b9d6e19daab35ea9d0770027e1d12e8306986da Mon Sep 17 00:00:00 2001 From: transcaffeine Date: Tue, 29 Oct 2024 17:49:00 +0100 Subject: [PATCH] meta: deprecate mariadb role --- README.md | 4 +++- galaxy.yml | 1 - roles/mariadb/tasks/main.yml | 6 ++++++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index b640e37..c808d50 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,9 @@ and configuring basic system utilities like gnupg, ssh etc - [`lego`](roles/lego/README.md): runs [lego (LetsEncrypt Go)](https://github.com/go-acme/lego), a ACME client written in go, using systemd (timers). Multi-instance capable. -- [`mariadb`](roles/mariadb/README.md): runs [MariaDB Server](https://mariadb.org/), one of the world's most popular open source relational database +- DEPRECATED: [`mariadb`](roles/mariadb/README.md): runs [MariaDB Server](https://mariadb.org/), + one of the world's most popular open source relational database. + Moved to `finallycoffee.databases.mariadb`. - [`minio`](roles/minio/README.md): Deploy [min.io](https://min.io), an s3-compatible object storage server, using docker containers. diff --git a/galaxy.yml b/galaxy.yml index 9d7d0df..8757d5c 100644 --- a/galaxy.yml +++ b/galaxy.yml @@ -16,7 +16,6 @@ tags: - docker - elastic - lego - - mariadb - minio - nginx - restic diff --git a/roles/mariadb/tasks/main.yml b/roles/mariadb/tasks/main.yml index 5b2a8b7..6fed53a 100644 --- a/roles/mariadb/tasks/main.yml +++ b/roles/mariadb/tasks/main.yml @@ -1,4 +1,10 @@ --- +- name: Warn about deprecation + ansible.builtin.debug: + msg: >-2 + This ansible role is moved to the finallycoffee.databases collection + and will be removed soon! + - name: Ensure mariadb container image '{{ mariadb_container_image }}' is {{ mariadb_state }} community.docker.docker_image: name: "{{ mariadb_container_image }}"