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.

48 lines
1.7 KiB

  1. ---
  2. - name: Manage MariaDB server
  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_server__flavor: '{{ ansible_local.mariadb.flavor
  12. |d(mariadb_server__flavor_map[ansible_distribution_release] | d("mariadb_upstream")) }}'
  13. mariadb_server__upstream_version: '10.5'
  14. mariadb_server__bind_address: '0.0.0.0'
  15. roles:
  16. - role: keyring
  17. tags: [ 'role::keyring', 'skip::keyring', 'role::mariadb_server' ]
  18. keyring__dependent_apt_keys:
  19. - '{{ mariadb_server__keyring__dependent_apt_keys }}'
  20. - role: etc_services
  21. tags: [ 'role::etc_services' ]
  22. etc_services__dependent_list:
  23. - '{{ mariadb_server__etc_services__dependent_rules }}'
  24. #
  25. # - role: ferm
  26. # tags: [ 'role::ferm', 'skip::ferm' ]
  27. # ferm__dependent_rules:
  28. # - '{{ mariadb_server__ferm__dependent_rules }}'
  29. # - role: tcpwrappers
  30. # tags: [ 'role::tcpwrappers', 'skip::tcpwrappers' ]
  31. # tcpwrappers__dependent_allow:
  32. # - '{{ mariadb_server__tcpwrappers__dependent_allow }}'
  33. - role: python
  34. tags: [ 'role::python', 'skip::python', 'role::mariadb_server' ]
  35. python__dependent_packages3:
  36. - '{{ mariadb_server__python__dependent_packages3 }}'
  37. python__dependent_packages2:
  38. - '{{ mariadb_server__python__dependent_packages2 }}'
  39. - role: mariadb_server
  40. tags: [ 'role::mariadb_server', 'skip::mariadb_server' ]