1 Commits

7 changed files with 5 additions and 10 deletions

View File

@ -1,13 +1,12 @@
namespace: finallycoffee namespace: finallycoffee
name: databases name: databases
version: 0.1.3 version: 0.1.1
readme: README.md readme: README.md
authors: authors:
- transcaffeine <transcaffeine@finally.coffee> - transcaffeine <transcaffeine@finally.coffee>
description: Collection for deploying and configuring databases description: Collection for deploying and configuring databases
dependencies: dependencies:
"community.docker": "^4.0.0" "community.docker": "^3.0.0"
"community.postgresql": "^3.9.0"
license_file: LICENSE.md license_file: LICENSE.md
build_ignore: build_ignore:
- '*.tar.gz' - '*.tar.gz'

View File

@ -1,5 +1,5 @@
--- ---
elasticsearch_version: "8.17.2" elasticsearch_version: "8.17.0"
elasticsearch_state: present elasticsearch_state: present
elasticsearch_base_path: /opt/elasticsearch elasticsearch_base_path: /opt/elasticsearch

View File

@ -1,5 +1,5 @@
--- ---
mariadb_version: "10.11.11" mariadb_version: "10.11.10"
mariadb_base_path: /var/lib/mariadb mariadb_base_path: /var/lib/mariadb
mariadb_data_path: >-2 mariadb_data_path: >-2
{{ mariadb_base_path }}/{{ mariadb_version | split('.') | first }} {{ mariadb_base_path }}/{{ mariadb_version | split('.') | first }}

View File

@ -50,7 +50,6 @@
loop_control: loop_control:
loop_var: result loop_var: result
label: "{{ result.option.key }}" label: "{{ result.option.key }}"
when: postgresql_state == 'present'
vars: vars:
postgresql_login_host: >-2 postgresql_login_host: >-2
{{ {{

View File

@ -33,7 +33,6 @@
loop: loop:
- name: "{{ postgresql_config_path }}" - name: "{{ postgresql_config_path }}"
- name: "{{ postgresql_data_path }}" - name: "{{ postgresql_data_path }}"
mode: "0700"
loop_control: loop_control:
loop_var: path loop_var: path
label: "{{ path.name }}" label: "{{ path.name }}"

View File

@ -22,7 +22,6 @@
insert_after: "# Ansible managed" insert_after: "# Ansible managed"
line: "{{ postgresql_admin_pg_ident_conf }}" line: "{{ postgresql_admin_pg_ident_conf }}"
when: postgresql_state == 'present' when: postgresql_state == 'present'
notify: postgresql_restart
- name: Configure permissions for postgresql admin role - name: Configure permissions for postgresql admin role
community.postgresql.postgresql_pg_hba: community.postgresql.postgresql_pg_hba:
@ -32,4 +31,3 @@
method: "{{ postgresql_admin_role_method }}" method: "{{ postgresql_admin_role_method }}"
options: "{{ postgresql_admin_pg_hba_conf_options }}" options: "{{ postgresql_admin_pg_hba_conf_options }}"
when: postgresql_state == 'present' when: postgresql_state == 'present'
notify: postgresql_restart

View File

@ -1,5 +1,5 @@
--- ---
valkey_version: "8.0.2" valkey_version: "8.0.1"
valkey_state: "present" valkey_state: "present"
valkey_instance: ~ valkey_instance: ~
valkey_instance_suffix: >-2 valkey_instance_suffix: >-2