ansible-role-mariadb/tasks/repo.yml

14 lines
360 B
YAML

---
- name: add gpg key for mariadb repository
ansible.builtin.apt_key:
keyserver: '{{ mariadb_repository_key_server }}'
id: '{{ mariadb_repository_key_id }}'
retries: 2
register: result
until: result is succeeded
tags: mariadb
- name: add official repo
ansible.builtin.apt_repository:
repo: '{{ mariadb_repository }}'
tags: mariadb