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.
|
- ---
-
- - name: Install gnupg
- package:
- name: gnupg
- state: present
-
- - name: Import the PowerDNS Authoritative Server APT Repository key
- apt_key:
- url: "{{ pdns_install_repo['gpg_key'] }}"
- id: "{{ pdns_install_repo['gpg_key_id'] | default('') }}"
- state: present
- register: _pdns_apt_key
-
- - name: Add the PowerDNS Authoritative Server APT Repository
- apt_repository:
- filename: "{{ pdns_install_repo['name'] }}"
- repo: "{{ pdns_install_repo['apt_repo'] }}"
- state: present
- register: _pdns_apt_repo
-
- - name: Update the APT cache
- apt:
- update_cache: yes
- when: "_pdns_apt_key.changed or _pdns_apt_repo.changed"
-
- - name: Pin the PowerDNS Authoritative Server APT Repository
- template:
- src: pdns.pin.j2
- dest: /etc/apt/preferences.d/pdns
- owner: root
- group: root
- mode: 0644
|