Add nerdctl cli tool for containerd user (#7500)

* Add nerdctl cli tool for containerd user

* Add nerdctl enable option

* Add nerdctl enable option and update nerdctl version to 0.8.0
This commit is contained in:
muzi502
2021-04-26 14:47:01 +08:00
committed by GitHub
parent ad15a4b755
commit 69806e0a46
6 changed files with 64 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
- 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