Skip to content

Commit

Permalink
Merge pull request #21 from sysdiglabs/repository_collision_fix
Browse files Browse the repository at this point in the history
fix: signed-by collisions running Role after install-agent script
  • Loading branch information
aroberts87 authored May 24, 2023
2 parents 3986a58 + 1157e23 commit c28b377
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tasks/agent/configure-deb-repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,14 @@
dest: /etc/apt/trusted.gpg.d/sysdig.asc
mode: 0o644

- name: (deb) Configure Sysdig Agent Repository
- name: (deb) Remove a legacy Sysdig repository configurations
ansible.builtin.apt_repository:
repo: "deb https://download.sysdig.com/stable/deb stable-$(ARCH)/"
filename: draios
state: absent

- name: (deb) Configure Sysdig Repository
ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/sysdig.asc] https://download.sysdig.com/stable/deb stable-amd64/"
filename: sysdig
state: present

0 comments on commit c28b377

Please sign in to comment.