Repos with recipes to deploy some infrastructure services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

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