agaric-coop/box/provisioning/roles/geerlingguy.blackfire/tasks/setup-Debian.yml

18 lines
414 B
YAML
Raw Permalink Normal View History

---
- name: Add packagecloud apt key.
apt_key:
url: "{{ blackfire_gpg_key_url }}"
state: present
- name: Add packagecloud repository.
apt_repository:
repo: "{{ item }}"
state: present
register: packagecloud_repos
with_items:
- "deb http://packages.blackfire.io/debian any main"
- name: Update apt caches after repo is added.
apt: update_cache=yes
when: packagecloud_repos.changed