Repos with recipes to deploy some infrastructure services
Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

27 righe
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