Repos with recipes to deploy some infrastructure services
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 

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