Fetch module returns “unable to calculate the checksum of the remote file” while running in Docker but works fine when not in Docker
问题 Ansible playbook (copy_file.yml): - name: Copy this file over please hosts: all gather_facts: false tasks: - name: Get files from scanners running in each DC fetch: src: /tmp/file_to_copy dest: /tmp/local_place flat: yes fail_on_missing: yes validate_checksum: no Command : ANSIBLE_HOST_KEY_CHECKING=False ansible-playbook -i inventory playbook/copy_file.yml It works when I run it. But when I dockerize it, it gives me the error : fatal: [remotehost.com]: FAILED! => {"changed": false, "file": "