Repos with recipes to deploy some infrastructure services
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- ---
-
- - 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
|