Ansible roles by Evolix
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.
 
 
 
 
 
 

34 lines
728 B

  1. ---
  2. # - name: Fail if distribution is not supported
  3. # fail:
  4. # msg: "Error: Evolix public repository is not compatble with 'Debian Stretch' yet."
  5. # when: ansible_distribution_release == "stretch"
  6. # tags:
  7. # - apt
  8. - name: Add Evolix GPG key
  9. apt_key:
  10. #url: http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x44975278B8612B5D
  11. data: "{{ lookup('file', 'reg.gpg') }}"
  12. tags:
  13. - apt
  14. - name: Evolix public list is installed
  15. template:
  16. src: evolix_public.list.j2
  17. dest: /etc/apt/sources.list.d/evolix_public.list
  18. force: yes
  19. mode: "0640"
  20. register: apt_evolix_public
  21. tags:
  22. - apt
  23. - name: Apt update
  24. apt:
  25. update_cache: yes
  26. when: apt_evolix_public | changed
  27. tags:
  28. - apt