Repos with recipes to deploy some infrastructure services
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

94 lines
3.9 KiB

  1. ---
  2. # By default the PowerDNS Recursor is installed from the os default repositories.
  3. pdns_rec_install_repo: ""
  4. # Install the EPEL repository.
  5. # EPEL is needed to satisfy some PowerDNS Recursor dependencies like protobuf
  6. pdns_rec_install_epel: True
  7. # You can install the PowerDNS Recursor package from the 'master' branch as
  8. # follows:
  9. # - hosts: all
  10. # roles:
  11. # - { role: PowerDNS.pdns_recursor,
  12. # pdns_rec_install_repo: "{{ pdns_rec_powerdns_repo_master }}"
  13. #
  14. # To install the PowerDNS Recursor package from the '40' branch of
  15. # the PowerDNS official repository use the following playbook
  16. # - hosts: all
  17. # roles:
  18. # - { role: PowerDNS.pdns_recursor,
  19. # pdns_rec_install_repo: "{{ pdns_rec_powerdns_repo_40 }}"
  20. #
  21. # To install the PowerDNS Recursor package from a custom repository
  22. # override the `pdns_rec_install_repo` default value in your playbook.
  23. # e.g.
  24. # - hosts: all
  25. # vars:
  26. # pdns_rec_install_repo:
  27. # apt_repo_origin: "repo.example.com" # used to pin the pdns-recursor to the provided repository
  28. # apt_repo: "deb http://repo.example.com/{{ ansible_distribution | lower }} {{ ansible_distribution_release | lower }}/pdns-recursor main"
  29. # gpg_key: "http://repo.example.com/MYREPOGPGPUBKEY.asc" # repository public GPG key
  30. # gpg_key_id: "MYREPOGPGPUBKEYID" # to avoid to reimport the key each time the role is executed
  31. # yum_repo_baseurl: "http://repo.example.com/centos/$basearch/$releasever/pdns-recursor"
  32. # yum_debug_symbols_repo_baseurl: "http://repo.example.com/centos/$basearch/$releasever/pdns-recursor/debug"
  33. # yum_repo_name: "powerdns-rec" # used to select only the pdns-recursor packages coming from this repo
  34. # roles:
  35. # - { role: PowerDNS.pdns_recursor }
  36. # The name of the PowerDNS package
  37. pdns_rec_package_name: "{{ default_pdns_rec_package_name }}"
  38. pdns_rec_package_version: ""
  39. # Install PowerDNS Recursor debug symbols package
  40. pdns_rec_install_debug_symbols_package: False
  41. # The name of the PowerDNS Recursor debug symbols package
  42. pdns_rec_debug_symbols_package_name: "{{ default_pdns_rec_debug_symbols_package_name }}"
  43. # The user and group the PowerDNS Recursor will run as.
  44. # NOTE: This role does not create any user as we assume the "pdns" user and group
  45. # to be created by the PowerDNS Recursor package or by an other role.
  46. # If you change these variables, make sure to create the user and groups before
  47. # applying this role
  48. pdns_rec_user: "{{ default_pdns_rec_user }}"
  49. pdns_rec_group: "{{ default_pdns_rec_group }}"
  50. # Name of the PowerDNS Service
  51. pdns_rec_service_name: "pdns-recursor"
  52. # Force the execution of the handlers at the end of the role.
  53. # This is required if using this role to configure multiple recursor instances
  54. # in a single play to make sure that on configuration changes the correct pnds_recursor
  55. # instance is restarted.
  56. pdns_rec_flush_handlers: False
  57. # State of the PowerDNS Recursor service
  58. pdns_rec_service_state: "started"
  59. pdns_rec_service_enabled: "yes"
  60. # When True, disable the automated restart of the PowerDNS Recursor service
  61. pdns_rec_disable_handlers: False
  62. # Configuration directory and files
  63. pdns_rec_config_dir: "{{ default_pdns_rec_config_dir }}"
  64. pdns_rec_config_file: "recursor.conf"
  65. pdns_rec_config_lua: "{{ pdns_rec_config_dir }}/config.lua"
  66. pdns_rec_config_lua_file_content: ""
  67. pdns_rec_config_dns_script: "{{ pdns_rec_config_dir }}/dns-script.lua"
  68. pdns_rec_config_dns_script_file_content: ""
  69. # Dict containing all configuration options, except for the
  70. # "config-dir", "setuid" and "setgid" directives in YAML format.
  71. pdns_rec_config: {}
  72. # pdns_rec_config:
  73. # allow-from: '127.0.0.1/8,192.168.2.0/24'
  74. # local-address: 0.0.0.0
  75. # server-id: 'nothing to see here'
  76. # Dict with overrides for the service (systemd only)
  77. pdns_rec_service_overrides: {}
  78. # pdns_rec_service_overrides:
  79. # LimitNOFILE: 10000