Advertisement
Guest User

Untitled

a guest
May 23rd, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.37 KB | None | 0 0
  1. The full traceback is:
  2. Traceback (most recent call last):
  3. File "/usr/lib/python2.7/dist-packages/ansible/executor/task_executor.py", line 96, in run
  4. item_results = self._run_loop(items)
  5. File "/usr/lib/python2.7/dist-packages/ansible/executor/task_executor.py", line 296, in _run_loop
  6. res = self._execute(variables=task_vars)
  7. File "/usr/lib/python2.7/dist-packages/ansible/executor/task_executor.py", line 528, in _execute
  8. result = self._handler.run(task_vars=variables)
  9. File "/usr/lib/python2.7/dist-packages/ansible/plugins/action/include_vars.py", line 128, in run
  10. self._load_files(self.source_file)
  11. File "/usr/lib/python2.7/dist-packages/ansible/plugins/action/include_vars.py", line 233, in _load_files
  12. b_data, show_content = self._loader._get_file_contents(filename)
  13. File "/usr/lib/python2.7/dist-packages/ansible/parsing/dataloader.py", line 206, in _get_file_contents
  14. data = self._vault.decrypt(data, filename=b_file_name)
  15. File "/usr/lib/python2.7/dist-packages/ansible/parsing/vault/__init__.py", line 561, in decrypt
  16. plaintext, vault_id = self.decrypt_and_get_vault_id(vaulttext, filename=filename)
  17. File "/usr/lib/python2.7/dist-packages/ansible/parsing/vault/__init__.py", line 638, in decrypt_and_get_vault_id
  18. b_plaintext = this_cipher.decrypt(b_vaulttext, vault_secret)
  19. File "/usr/lib/python2.7/dist-packages/ansible/parsing/vault/__init__.py", line 1349, in decrypt
  20. b_plaintext = cls._decrypt_cryptography(b_ciphertext, b_crypted_hmac, b_key1, b_key2, b_iv)
  21. File "/usr/lib/python2.7/dist-packages/ansible/parsing/vault/__init__.py", line 1283, in _decrypt_cryptography
  22. decryptor.update(b_ciphertext) + decryptor.finalize()
  23. File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/primitives/ciphers/base.py", line 149, in update
  24. return self._ctx.update(data)
  25. File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/openssl/ciphers.py", line 116, in update
  26. n = self.update_into(data, buf)
  27. File "/usr/lib/python2.7/dist-packages/cryptography/hazmat/backends/openssl/ciphers.py", line 127, in update_into
  28. "unsigned char *", self._backend._ffi.from_buffer(buf)
  29. TypeError: from_buffer() cannot return the address of the raw string within a str or unicode or bytearray object
  30.  
  31. fatal: [hostimworkingon]: FAILED! => {
  32. "msg": "Unexpected failure during module execution.",
  33. "stdout": ""
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement