Code development platform for open source projects from the European Union institutions :large_blue_circle: EU Login authentication by SMS has been phased out. To see alternatives please check here

Skip to content
Snippets Groups Projects
Commit f393c5ad authored by Jean-François HOVINNE's avatar Jean-François HOVINNE
Browse files

fix: Disable APT repository not using keyring (fixes #24)

parent 9378faba
Branches
Tags 1.2.4
1 merge request!18fix: Disable APT repository not using keyring (fixes #24)
...@@ -15,6 +15,14 @@ ...@@ -15,6 +15,14 @@
become: true become: true
when: ansible_os_family == 'Debian' when: ansible_os_family == 'Debian'
- name: Disable hashicorp repository not using keyring (APT)
ansible.builtin.apt_repository:
repo: "deb [arch=amd64] {{ hashicorp_repository }} {{ ansible_distribution_release | lower }} main"
filename: hashicorp
state: absent
become: true
when: ansible_os_family == 'Debian'
- name: Enable hashicorp repository (APT) - name: Enable hashicorp repository (APT)
ansible.builtin.apt_repository: ansible.builtin.apt_repository:
repo: "deb [arch=amd64 signed-by={{ hashicorp_keyring }}] {{ hashicorp_repository }} {{ ansible_distribution_release | lower }} main" repo: "deb [arch=amd64 signed-by={{ hashicorp_keyring }}] {{ hashicorp_repository }} {{ ansible_distribution_release | lower }} main"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment