Skip to content

Commit

Permalink
fix: move gpg install to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Nov 24, 2023
1 parent 01892af commit a080029
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions tasks/repo-Debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
purge: true
notify: "Update apt cache (Debian Family)"

- name: "Ensure python3-debian and gnupg is installed (Debian Family)"
ansible.builtin.apt:
name:
- gnupg
- python3-debian
state: present
update_cache: true
cache_valid_time: 3600

- name: "Ensure netdata repository is removed (Debian Family) [Legacy]: stable"
ansible.builtin.apt_repository:
repo: "deb http://repo.netdata.cloud/repos/stable/{{ ansible_distribution | lower }}/ {{ ansible_distribution_release | lower }}/"
Expand All @@ -26,15 +35,6 @@
state: absent
id: 0x6588FDD7B14721FE7C3115E6F9177B5265F56346

- name: "Ensure python3-debian and gnupg is installed (Debian Family)"
ansible.builtin.apt:
name:
- gnupg
- python3-debian
state: present
update_cache: true
cache_valid_time: 3600

- name: "Set fact netdata_agent_channel_remove to edge"
ansible.builtin.set_fact:
netdata_agent_channel_remove: edge
Expand Down

0 comments on commit a080029

Please sign in to comment.