You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
---
|
|
|
|
- name: Manage MariaDB client
|
|
collections: [ 'debops.debops', 'debops.roles01',
|
|
'debops.roles02', 'debops.roles03' ]
|
|
hosts: [ 'debian10' ]
|
|
become: True
|
|
|
|
environment: '{{ inventory__environment | d({})
|
|
| combine(inventory__group_environment | d({}))
|
|
| combine(inventory__host_environment | d({})) }}'
|
|
|
|
|
|
vars:
|
|
mariadb__flavor: '{{ ansible_local.mariadb.flavor|d(mariadb__flavor_map[ansible_distribution_release] | d("mariadb")) }}'
|
|
mariadb__upstream_version: '10.5'
|
|
|
|
vars_files:
|
|
- ./../vars/databases.yml
|
|
-
|
|
roles:
|
|
|
|
- role: secret
|
|
|
|
- role: keyring
|
|
tags: [ 'role::keyring', 'skip::keyring', 'role::mariadb' ]
|
|
keyring__dependent_apt_keys:
|
|
- '{{ mariadb__keyring__dependent_apt_keys }}'
|
|
|
|
- role: python
|
|
tags: [ 'role::python', 'skip::python', 'role::mariadb' ]
|
|
python__dependent_packages3:
|
|
- '{{ mariadb__python__dependent_packages3 }}'
|
|
python__dependent_packages2:
|
|
- '{{ mariadb__python__dependent_packages2 }}'
|
|
|
|
- role: mariadb
|
|
tags: [ 'role::mariadb', 'skip::mariadb' ]
|