c12s-kubespray/roles/container-engine/nerdctl/handlers/main.yml

13 lines
306 B
YAML
Raw Permalink Normal View History

---
- name: Get nerdctl completion
command: "{{ bin_dir }}/nerdctl completion bash"
changed_when: False
register: nerdctl_completion
check_mode: false
- name: Install nerdctl completion
copy:
dest: /etc/bash_completion.d/nerdctl
content: "{{ nerdctl_completion.stdout }}"
mode: 0644