Привет! Что я делаю не так своей жизни? При выполнении вылезает ошибка
Код:
- name: Download file
get_url:
url: http://172.20.31.8/cerroot.tar
dest: /root/cer/cerroot.tar
Код:
fatal: [172.20.31.100]: FAILED! => {"changed": false, "module_stderr": "Shared connection to 172.20.31.100 closed.\r\n", "module_stdout":
"Traceback (most recent call last):\r\n File \"/root/.ansible/tmp/ansible-tmp-1571820355.59303-258167047447751/AnsiballZ_get_url.py\",
line 114, in <module>\r\n _ansiballz_main()\r\n File \"/root/.ansible/tmp/ansible-tmp-1571820355.59303-258167047447751/AnsiballZ_get_url.py\",
line 106, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n
File \"/root/.ansible/tmp/ansible-tmp-1571820355.59303-258167047447751/AnsiballZ_get_url.py\", line 49, in invoke_module\r\n
imp.load_module('__main__', mod, module, MOD_DESC)\r\n File \"/tmp/ansible_get_url_payload_j6sLZZ/__main__.py\", line 336,
in <module>\r\n File \"/tmp/ansible_get_url_payload_j6sLZZ/ansible_get_url_payload.zip/ansible/module_utils/urls.py\", line 402,
in <module>\r\nAttributeError: 'module' object has no attribute 'HTTPSConnection'\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}