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

  1. ---
  2. - name: Manage MariaDB client
  3. collections: [ 'debops.debops', 'debops.roles01',
  4. 'debops.roles02', 'debops.roles03' ]
  5. hosts: [ 'debian10' ]
  6. become: True
  7. environment: '{{ inventory__environment | d({})
  8. | combine(inventory__group_environment | d({}))
  9. | combine(inventory__host_environment | d({})) }}'
  10. vars:
  11. mariadb__flavor: '{{ ansible_local.mariadb.flavor|d(mariadb__flavor_map[ansible_distribution_release] | d("mariadb")) }}'
  12. mariadb__upstream_version: '10.5'
  13. vars_files:
  14. - ./../vars/databases.yml
  15. -
  16. roles:
  17. - role: secret
  18. - role: keyring
  19. tags: [ 'role::keyring', 'skip::keyring', 'role::mariadb' ]
  20. keyring__dependent_apt_keys:
  21. - '{{ mariadb__keyring__dependent_apt_keys }}'
  22. - role: python
  23. tags: [ 'role::python', 'skip::python', 'role::mariadb' ]
  24. python__dependent_packages3:
  25. - '{{ mariadb__python__dependent_packages3 }}'
  26. python__dependent_packages2:
  27. - '{{ mariadb__python__dependent_packages2 }}'
  28. - role: mariadb
  29. tags: [ 'role::mariadb', 'skip::mariadb' ]