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.
|
- ---
-
- - block:
-
- - name: Prefix the version with the correct separator on RedHat
- set_fact:
- _pdns_package_version: "-{{ pdns_package_version }}"
- when: ansible_os_family == 'RedHat'
-
- - name: Prefix the version with the correct separator on Debian
- set_fact:
- _pdns_package_version: "={{ pdns_package_version }}"
- when: ansible_os_family == 'Debian'
-
- when: pdns_package_version != ''
-
- - name: Install the PowerDNS Authoritative Server
- package:
- name: "{{ pdns_package_name }}{{ _pdns_package_version | default('') }}"
- state: present
-
- - name: Install the PowerDNS Authoritative Server debug symbols
- package:
- name: "{{ pdns_debug_symbols_package_name }}{{ _pdns_package_version | default('') }}"
- state: present
- when: pdns_install_debug_symbols_package
-
- - name: Install the PowerDNS Authoritative Server backends
- package:
- name: "{{ pdns_backends_packages[item.key.split(':')[0]] }}{{ _pdns_package_version | default('') }}"
- state: present
- when: pdns_backends_packages[item.key.split(':')[0]] is defined
- with_dict: "{{ pdns_backends }}"
|