Repos with recipes to deploy some infrastructure services
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

55 lignes
990 B

  1. ---
  2. - name: Include OS-specific variables
  3. include_vars: "{{ ansible_facts.os_family }}.yml"
  4. tags:
  5. - always
  6. - include: "repo-{{ ansible_facts.os_family }}.yml"
  7. when: pdns_install_repo != ""
  8. tags:
  9. - install
  10. - repository
  11. - include: install.yml
  12. tags:
  13. - install
  14. - include: inspect.yml
  15. tags:
  16. - db
  17. - mysql
  18. - sqlite
  19. - config
  20. - include: database-mysql.yml
  21. when: "pdns_mysql_databases_credentials | length > 0"
  22. tags:
  23. - db
  24. - mysql
  25. - include: database-sqlite3.yml
  26. when: "pdns_sqlite_databases_locations | length > 0"
  27. tags:
  28. - db
  29. - sqlite
  30. - include: configure.yml
  31. tags:
  32. - config
  33. - name: Start and enable the PowerDNS Authoritative Server service
  34. service:
  35. name: "{{ pdns_service_name }}"
  36. state: started
  37. enabled: true
  38. tags:
  39. - service
  40. - name: Force handlers flush
  41. meta: flush_handlers
  42. when: pdns_flush_handlers
  43. tags:
  44. - config
  45. - service