我正在使用 Molecule 来测试我的 ansible 角色。在重新启动我的服务器之前工作正常。然而,之后,当我跑molecule create
它正在跳过创建过程:跳过,已创建实例。但是,什么都没有运行:
(myenv)[root]# docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
跑步时molecule converge
。我收到此错误:
TASK [Gathering Facts] *********************************************************
fatal: [test_instance]: UNREACHABLE! => {"changed": false, "msg": "Authentication or permission failure.
In some cases, you may have been able to authenticate and did not have permissions on the target directory.
Consider changing the remote tmp path in ansible.cfg to a path rooted in \"/tmp\". Failed command was:
( umask 77 && mkdir -p \"` echo ~/.ansible/tmp/ansible-tmp-1575033184.79-237504774558686 `\" && echo
ansible-tmp-1575033184.79-237504774558686=\"` echo ~/.ansible/tmp/ansible-tmp-1575033184.79-237504774558686 `\" ),
exited with result 1", "unreachable": true}
关于如何解决这个问题的任何想法?