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.

27 lignes
913 B

  1. ---
  2. - block:
  3. - name: Prefix the version of the PowerDNS Recursor package with the correct separator on RedHat
  4. set_fact:
  5. _pdns_rec_package_version: "-{{ pdns_rec_package_version }}"
  6. when: ansible_facts.os_family == 'RedHat'
  7. - name: Prefix the version of the PowerDNS Recursor package with the correct separator on Debian
  8. set_fact:
  9. _pdns_rec_package_version: "={{ pdns_rec_package_version }}"
  10. when: ansible_facts.os_family == 'Debian'
  11. when: pdns_rec_package_version != ''
  12. - name: Install the PowerDNS Recursor
  13. package:
  14. name: "{{ pdns_rec_package_name }}{{ _pdns_rec_package_version | default('') }}"
  15. state: present
  16. - name: Install PowerDNS Recursor debug symbols
  17. package:
  18. name: "{{ pdns_rec_debug_symbols_package_name }}{{ _pdns_rec_package_version | default('') }}"
  19. state: present
  20. when: pdns_rec_install_debug_symbols_package