ansible-collection-nextcloud/roles/keydb/tasks/install.yml

25 lines
627 B
YAML
Raw Normal View History

2023-02-07 20:48:16 +01:00
---
- 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