25 lines
627 B
YAML
25 lines
627 B
YAML
|
---
|
||
|
|
||
|
- name: Add KeyDB repository key
|
||
|
ansible.builtin.apt_key:
|
||
|
url: https://download.keydb.dev/open-source-dist/keyring.gpg
|
||
|
keyring: /etc/apt/trusted.gpg.d/download.keydb.dev.gpg
|
||
|
|
||
|
- name: Add KeyDB repository
|
||
|
ansible.builtin.apt_repository:
|
||
|
filename: download.keydb.dev.list
|
||
|
repo: "deb https://download.keydb.dev/open-source-dist {{ ansible_facts.distribution_release }} main"
|
||
|
|
||
|
- name: Install KeyDB
|
||
|
ansible.builtin.apt:
|
||
|
name:
|
||
|
- keydb
|
||
|
- keydb-server
|
||
|
- keydb-tools
|
||
|
|
||
|
- name: Start and enable KeyDB
|
||
|
ansible.builtin.service:
|
||
|
name: keydb-server
|
||
|
state: started
|
||
|
enabled: true
|