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.

143 lignes
5.3 KiB

  1. ---
  2. # By default, no PowerDNS Authoritative Server repository will be configured by the role
  3. pdns_install_repo: ""
  4. # To install tje PowerDNS Authoritative Server from the 'master' official repository
  5. # use the following playbook snippet
  6. # - hosts: all
  7. # roles:
  8. # - { role: PowerDNS.pdns,
  9. # pdns_install_repo: "{{ pdns_auth_powerdns_repo_master }}"
  10. #
  11. # To install the PowerDNS Authoritative Server from the '4.0.x' official repository
  12. # use the following playbook snippet
  13. # - hosts: all
  14. # roles:
  15. # - { role: PowerDNS.pdns,
  16. # pdns_install_repo: "{{ pdns_auth_powerdns_repo_40 }}"
  17. #
  18. # To install the PowerDNS Authoritative Server from the '4.1.x' official repository
  19. # use the following playbook snippet
  20. # - hosts: all
  21. # roles:
  22. # - { role: PowerDNS.pdns,
  23. # pdns_install_repo: "{{ pdns_auth_powerdns_repo_41 }}"
  24. #
  25. # To make this role configure a custom repository and install the
  26. # PowerDNS Authoritative Server from it override the `pdns_install_repo` variable
  27. # as follows
  28. # - hosts: all
  29. # vars:
  30. # pdns_install_repo:
  31. # apt_repo_origin: "example.com" # Pin the PowerDNS packages to the provided repository origin
  32. # apt_repo: "deb http://example.com/{{ ansible_facts.distribution | lower }} {{ ansible_facts.distribution_release | lower }}/pdns main"
  33. # gpg_key: "http://example.com/MYREPOGPGPUBKEY.asc" # repository public GPG key
  34. # gpg_key_id: "MYREPOGPGPUBKEYID" # to avoid to reimport the key each time the role is executed
  35. # yum_repo_baseurl: "http://example.com/centos/$basearch/$releasever/pdns"
  36. # name: "powerdns" # the name of the repository
  37. # roles:
  38. # - { role: PowerDNS.pdns }
  39. # Install the EPEL repository.
  40. # EPEL is needed to satisfy some PowerDNS Authoritative Server dependencies like protobuf
  41. pdns_install_epel: True
  42. # The name of the PowerDNS Authoritative Server package
  43. pdns_package_name: "{{ default_pdns_package_name }}"
  44. # Install a specific version of the PowerDNS Authoritative Server package
  45. # NB: The usage of this variable makes only sense on RedHat-like systems,
  46. # where each YUM repository can contains multiple versions of the same package.
  47. pdns_package_version: ""
  48. # Install the PowerDNS Authoritative Server debug symbols package
  49. pdns_install_debug_symbols_package: False
  50. # The name of the PowerDNS Authoritative Server debug symbols package
  51. pdns_debug_symbols_package_name: "{{ default_pdns_debug_symbols_package_name }}"
  52. # The user and group the PowerDNS Authoritative Server process will run as.
  53. # NOTE: at the moment, we don't create a user as we assume the package creates
  54. # a "pdns" user and group. If you change these variables, make sure to create
  55. # the user and groups before applying this role
  56. pdns_user: pdns
  57. pdns_group: pdns
  58. # Name of the PowerDNS Authoritative Server Service
  59. pdns_service_name: "pdns"
  60. # Force the execution of the handlers at the end of the role.
  61. # This is required if using this role to configure multiple pdns auth instance in the same single play.
  62. # See PowerDNS Authoritative Server virtual hosting https://doc.powerdns.com/md/authoritative/running/#starting-virtual-instances-with-system.
  63. pdns_flush_handlers: False
  64. # When True, disable the automated restart of the PowerDNS service
  65. pdns_disable_handlers: False
  66. # PowerDNS Authoritative Server configuration file and directory
  67. pdns_config_dir: "{{ default_pdns_config_dir }}"
  68. pdns_config_file: "pdns.conf"
  69. # Ddict containing all configuration options, except for backend
  70. # configuration and the "config-dir", "setuid" and "setgid" directives.
  71. pdns_config: {}
  72. # pdns_config:
  73. # master: yes
  74. # slave: no
  75. # local-address: '192.0.2.53'
  76. # local-ipv6: '2001:DB8:1::53'
  77. # local-port: '5300'
  78. # Dict with overrides for the service (systemd only)
  79. pdns_service_overrides: {}
  80. # pdns_service_overrides:
  81. # LimitNOFILE: 10000
  82. # Dictionary of packages that should be installed to enable the backends.
  83. # backendname: packagename
  84. pdns_backends_packages: "{{ default_pdns_backends_packages }}"
  85. # A dict with all the backends you'd like to configure.
  86. # This default starts just the bind-backend with an empty config file
  87. pdns_backends:
  88. bind:
  89. config: '/dev/null'
  90. # pdns_backends:
  91. # 'gmysql:one':
  92. # 'user': root
  93. # 'host': 127.0.0.1
  94. # 'password': root
  95. # 'dbname': pdns
  96. # 'gmysql:two':
  97. # 'user': pdns_user
  98. # 'host': 192.0.2.15
  99. # 'port': 3307
  100. # 'password': my_password
  101. # 'dbname': dns
  102. # 'bind':
  103. # 'config': '/etc/named/named.conf'
  104. # 'hybrid': yes
  105. # 'dnssec-db': '{{ pdns_config_dir }}/dnssec.db'
  106. # Administrative credentials to create the PowerDNS Authoritative Server MySQL backend database and user.
  107. pdns_mysql_databases_credentials: {}
  108. # pdns_mysql_databases_credentials:
  109. # 'gmysql:one':
  110. # 'priv_user': root
  111. # 'priv_password': my_first_password
  112. # 'priv_host':
  113. # - "localhost"
  114. # - "%"
  115. # 'gmysql:two':
  116. # 'priv_user': someprivuser
  117. # 'priv_password': my_second_password
  118. # 'priv_host':
  119. # - "localhost"
  120. # This will create the PowerDNS Authoritative Server backend SQLite database
  121. # in the given locations.
  122. # NOTE: Requries the SQLite CLI tools to be available in the machine and the gsqlite3
  123. # backend to be installed on the machine.
  124. pdns_sqlite_databases_locations: []