ansible-roles/newrelic/tasks/sources.yml
Jérémy Lecour 9cdddd50a8
All checks were successful
continuous-integration/drone/push Build is passing
Move all trusted GPG keys to file repository
2021-05-03 14:23:13 +02:00

21 lines
420 B
YAML

---
- name: NewRelic GPG embedded key is absent
apt_key:
id: "548C16BF"
state: absent
- name: Add NewRelic GPG key
copy:
src: newrelic.asc
dest: /etc/apt/trusted.gpg.d/newrelic.asc
force: yes
mode: "0644"
- name: Install NewRelic repository
apt_repository:
repo: "deb http://apt.newrelic.com/debian/ newrelic non-free"
state: present
filename: newrelic
update_cache: yes