Created
May 5, 2021 17:27
-
-
Save ryanvgates/695d801c36153a0d3b64f4e408362530 to your computer and use it in GitHub Desktop.
Ansible Dependency Gotcha
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fatal: [host]: FAILED! => { | |
"changed": false, | |
"module_stderr": "Shared connection to host closed.\r\n", | |
"module_stdout": "Traceback (most recent call last):\r\n File \"/home/centos/.ansible/tmp/ansible-tmp-1573758290.699043-238093852151220/AnsiballZ_yum.py\", line 113, in \r\n ansiballz_main()\r\n File \"/home/centos/.ansible/tmp/ansible-tmp-1573758290.699043-238093852151220/AnsiballZ_yum.py\", line 105, in _ansiballz_main\r\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\r\n File \"/home/centos/.ansible/tmp/ansible-tmp-1573758290.699043-238093852151220/AnsiballZ_yum.py\", line 48, in invoke_module\r\n imp.load_module('main_', mod, module, MOD_DESC)\r\n File \"/tmp/ansible_yum_payload_Pya32A/_main_.py\", line 320, in \r\n File \"/tmp/ansible_yum_payload_Pya32A/ansible_yum_payload.zip/ansible/module_utils/urls.py\", line 97, in \r\n File \"/usr/lib/python2.6/site-packages/requests/_init_.py\", line 114, in \r\n from .models import Request, Response, PreparedRequest\r\n File \"/usr/lib/python2.6/site-packages/requests/models.py\", line 655\r\n return {attr: getattr(self, attr, None) for attr in self.__attrs}\r\n ^\r\nSyntaxError: invalid syntax\r\n", | |
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", | |
"rc": 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment