Add CRI-O CI (#5460)

This commit is contained in:
Maxime Guyot
2020-04-22 15:09:52 +02:00
committed by GitHub
parent 1c187e9729
commit 09bccc97ba
13 changed files with 109 additions and 10 deletions

View File

@@ -21,7 +21,15 @@
group: no
delegate_to: "{{ inventory_hostname }}"
- name: Install crictl completion
shell: "{{ bin_dir }}/crictl completion >/etc/bash_completion.d/crictl"
ignore_errors: True
- name: Get crictl completion
shell: "{{ bin_dir }}/crictl completion"
when: ansible_distribution in ["CentOS","RedHat", "Ubuntu", "Debian"]
changed_when: False
register: cri_completion
- name: Install crictl completion
copy:
dest: /etc/bash_completion.d/crictl
content: "{{ cri_completion.stdout }}"
become: True
when: cri_completion is defined