export ANSIBLE_DEBUG=True; ansible-playbook -vvvv -l slurm-cluster playbooks/slurm-cluster.yml
...
...
The full traceback is:
File "/tmp/ansible_docker_container_payload_dynuvetb/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/module_utils/common_api.py", line 117, in init
super(AnsibleDockerClientBase, self).init(**self._connect_params)
File "/tmp/ansible_docker_container_payload_dynuvetb/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/api/client.py", line 188, in init
self._version = self._retrieve_server_version()
File "/tmp/ansible_docker_container_payload_dynuvetb/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/api/client.py", line 212, in _retrieve_server_version
raise DockerException(
fatal: [l-csi-ar-15151s]: FAILED! => changed=false
....
msg: 'Error connecting: Error while fetching server API version: Not supported URL scheme http+docker'
Ubuntu 22.04.4 LTS (Jammy Jellyfish)
ansible [core 2.11.12] config file = /as/deepops/ansible.cfg configured module search path = ['/as/deepops/submodules/kubespray/library'] ansible python module location = /opt/deepops/env/lib/python3.10/site-packages/ansible ansible collection location = /as/deepops/collections executable location = /opt/deepops/env/bin/ansible python version = 3.10.12 (main, Jul 29 2024, 16:56:48) [GCC 11.4.0] jinja version = 2.11.3 libyaml = True
export ANSIBLE_DEBUG=True; ansible-playbook -vvvv -l slurm-cluster playbooks/slurm-cluster.yml ... ... The full traceback is: File "/tmp/ansible_docker_container_payload_dynuvetb/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/module_utils/common_api.py", line 117, in init super(AnsibleDockerClientBase, self).init(**self._connect_params) File "/tmp/ansible_docker_container_payload_dynuvetb/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/api/client.py", line 188, in init self._version = self._retrieve_server_version() File "/tmp/ansible_docker_container_payload_dynuvetb/ansible_docker_container_payload.zip/ansible_collections/community/docker/plugins/module_utils/_api/api/client.py", line 212, in _retrieve_server_version raise DockerException( fatal: [l-csi-ar-15151s]: FAILED! => changed=false .... msg: 'Error connecting: Error while fetching server API version: Not supported URL scheme http+docker'
seems similar to https://github.com/ansible-collections/community.docker/issues/868