You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
688 B

  1. ---
  2. - name: Calico | Add wireguard yum repo
  3. when:
  4. - calico_wireguard_enabled
  5. block:
  6. - name: Calico | Add wireguard yum repo
  7. yum_repository:
  8. name: copr:copr.fedorainfracloud.org:jdoss:wireguard
  9. file: _copr:copr.fedorainfracloud.org:jdoss:wireguard
  10. description: Copr repo for wireguard owned by jdoss
  11. baseurl: "{{ calico_wireguard_repo }}"
  12. gpgcheck: yes
  13. gpgkey: https://download.copr.fedorainfracloud.org/results/jdoss/wireguard/pubkey.gpg
  14. skip_if_unavailable: yes
  15. enabled: yes
  16. repo_gpgcheck: no
  17. when:
  18. - ansible_os_family in ['RedHat']
  19. - ansible_distribution not in ['Fedora']