Skip to content

Commit

Permalink
Merge pull request #167 from grycap/fix_gpg
Browse files Browse the repository at this point in the history
Fix issues with gpg and asc formats in debian
  • Loading branch information
micafer authored May 22, 2023
2 parents f4f1a69 + 34ee16d commit 1e86d0a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions tasks/Debian.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@
mode: '0644'
when: add_key is failed

- name: Add repo key copy with asc extension to workarond issues
copy:
src: /etc/apt/trusted.gpg.d/google.gpg
dest: /etc/apt/trusted.gpg.d/google.asc
mode: '0644'
remote_src: yes
when: add_key is changed

- name: Add kubernetes repo
apt_repository: repo='deb http://apt.kubernetes.io/ kubernetes-xenial main' state=present update_cache=yes

Expand Down
2 changes: 1 addition & 1 deletion tests/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
kube_install_metrics: true
kube_cert_manager: true
kube_install_kubeapps: false
kube_install_kyverno: true
kube_install_kyverno: false
kube_deploy_dashboard: true
kube_install_ingress: true
kube_public_dns_name: test.domain.com
Expand Down

0 comments on commit 1e86d0a

Please sign in to comment.