ensure-services.yml 419 B

1234567891011121314
  1. - name: Enable and start yunion-containerd service
  2. ansible.builtin.systemd:
  3. name: yunion-containerd
  4. enabled: yes
  5. state: started
  6. - name: Check crictl version
  7. shell: |
  8. crictl -r unix:///var/run/onecloud/containerd/containerd.sock version
  9. crictl -r unix:///var/run/onecloud/containerd/containerd.sock pods
  10. register: crictl_version
  11. changed_when: false
  12. - debug: var=crictl_version.stdout_lines