chrismeyersfsu / provision_docker

Test Ansible roles and playbooks using Docker
219 stars 56 forks source link

docker_inspect.sh not found when provisioning on remote machine #47

Closed chrismeyersfsu closed 7 years ago

chrismeyersfsu commented 7 years ago
 "stderr_lines": [
        "/bin/sh: /projects/_48__ansible_engineering/roles/provision_docker/files/docker_inspect.sh: No such file or directory"
    ],

docker_inspect.sh exists because you can't call register: on a module that takes parameters with {{ }} in the value. For remote nodes, we need to call copy to the remote node before running docker_inspect.sh.