Browse Source

Drop crun_bin_dir unused var (#9845)

crun_bin_dir was used to specify the destination of the crun binary during the
download process. This path must match with the value provided in the CRI-O
configuration file. So changing its value to bin_dir helps to mismatch errors.

Signed-off-by: Victor Morales <chipahuac@hotmail.com>
pull/9847/head
Victor Morales 2 years ago
committed by GitHub
parent
commit
677b7ecd89
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 4 deletions
  1. 3
      roles/container-engine/crun/defaults/main.yml
  2. 2
      roles/container-engine/crun/tasks/main.yml

3
roles/container-engine/crun/defaults/main.yml

@ -1,3 +0,0 @@
---
crun_bin_dir: /usr/bin/

2
roles/container-engine/crun/tasks/main.yml

@ -7,6 +7,6 @@
- name: Copy crun binary from download dir
copy:
src: "{{ local_release_dir }}/crun"
dest: "{{ crun_bin_dir }}/crun"
dest: "{{ bin_dir }}/crun"
mode: 0755
remote_src: true
Loading…
Cancel
Save