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.

41 lines
1.2 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. mariadb__databases:
  14. - name: 'intermetiz'
  15. - name: 'intermetiz-products'
  16. mariadb__users:
  17. - name: 'intermetiz'
  18. host: '%'
  19. database: 'intermetiz%'
  20. roles:
  21. - role: secret
  22. - role: keyring
  23. tags: [ 'role::keyring', 'skip::keyring', 'role::mariadb' ]
  24. keyring__dependent_apt_keys:
  25. - '{{ mariadb__keyring__dependent_apt_keys }}'
  26. - role: python
  27. tags: [ 'role::python', 'skip::python', 'role::mariadb' ]
  28. python__dependent_packages3:
  29. - '{{ mariadb__python__dependent_packages3 }}'
  30. python__dependent_packages2:
  31. - '{{ mariadb__python__dependent_packages2 }}'
  32. - role: mariadb
  33. tags: [ 'role::mariadb', 'skip::mariadb' ]