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