Compare commits
1 Commits
0.1.3
...
transcaffe
Author | SHA1 | Date | |
---|---|---|---|
818c997853
|
@ -1,6 +1,6 @@
|
|||||||
namespace: finallycoffee
|
namespace: finallycoffee
|
||||||
name: databases
|
name: databases
|
||||||
version: 0.1.3
|
version: 0.1.2
|
||||||
readme: README.md
|
readme: README.md
|
||||||
authors:
|
authors:
|
||||||
- transcaffeine <transcaffeine@finally.coffee>
|
- transcaffeine <transcaffeine@finally.coffee>
|
||||||
|
@ -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
|
||||||
|
@ -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 }}
|
||||||
|
11
roles/postgresql/tasks/deploy-local.yml
Normal file
11
roles/postgresql/tasks/deploy-local.yml
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
---
|
||||||
|
- name: Ensure postgresql package is {{ postgresql_state }}
|
||||||
|
ansible.builtin.package:
|
||||||
|
name: "{{ postgresql_os_package_name }}"
|
||||||
|
state: "{{ postgresql_state }}"
|
||||||
|
|
||||||
|
- name: Ensure postgresql systemd unit is {{ (postgresql_state == 'present') | ternary('enabled', 'disabled') }}
|
||||||
|
ansible.builtin.systemd:
|
||||||
|
name: "{{ postgresql_systemd_service_name }}"
|
||||||
|
enabled: "{{ (postgresql_state == 'present') }}"
|
||||||
|
when: ansible_facts['service_mgr'] == 'systemd'
|
@ -4,3 +4,4 @@ postgresql_states:
|
|||||||
- absent
|
- absent
|
||||||
postgresql_deployment_methods:
|
postgresql_deployment_methods:
|
||||||
- docker
|
- docker
|
||||||
|
- local
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user