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.

26 lines
608 B

  1. ---
  2. - name: crictl | Download crictl
  3. include_tasks: "../../../download/tasks/download_file.yml"
  4. vars:
  5. download: "{{ download_defaults | combine(downloads.crictl) }}"
  6. - name: Install crictl config
  7. template:
  8. src: crictl.yaml.j2
  9. dest: /etc/crictl.yaml
  10. owner: root
  11. mode: 0644
  12. - name: Copy crictl binary from download dir
  13. copy:
  14. src: "{{ local_release_dir }}/crictl"
  15. dest: "{{ bin_dir }}/crictl"
  16. mode: 0755
  17. remote_src: true
  18. notify:
  19. - Get crictl completion
  20. - Install crictl completion
  21. - name: Set fact crictl_installed
  22. set_fact:
  23. crictl_installed: true