Ansible 临时脚本未找到

Ansible 临时脚本未找到

我检查了其他答案,我遇到的问题无法通过更改远程(或本地)临时目录来解决。

我的其中一台主机(不是全部)出现故障,并显示以下消息:

fatal: [wazuh_elastic_server]: FAILED! => {"ansible_job_id": "872609276122.14706", "changed": false, "cmd": "/home/ubuntu/.ansible/tmp/ansible-tmp-1567526428.5-44355784464580/AnsiballZ_apt.py", "finished": 1, "msg": "[Errno 2] No such file or directory: '/home/ubuntu/.ansible/tmp/ansible-tmp-1567526428.5-44355784464580/AnsiballZ_apt.py': '/home/ubuntu/.ansible/tmp/ansible-tmp-1567526428.5-44355784464580/AnsiballZ_apt.py'", "outdata": "", "stderr": "", "stderr_lines": []}

任务是:

- name: Linux | Install wazuh-agent
  package: name=wazuh-agent state=present
  async: 90
  poll: 15
  tags:
    - init

我在这里做错了什么?

相关内容