Advertisement
lbrigman124

uri error

Jul 8th, 2019
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1. - name: push pkgs to remote repo
  2. uri:
  3. url: "{{base_url}}/{{repo_name}}/{{item}}"
  4. user: "{{username}}"
  5. password: "{{userpass}}"
  6. method: PUT
  7. src: "{{base_dir}}/{{item}}"
  8. status_code: 200
  9. return_content: true
  10. with_items:
  11. - "{{pkgs.stdout_lines}}"
  12.  
  13. ------------------------------------
  14. error info:
  15. failed: [localhost] (item=ansible-2.6.14-1.el7.noarch.rpm) => {
  16. "changed": false,
  17. "content": "",
  18. "invocation": {
  19. "module_args": {
  20. "attributes": null,
  21. "backup": null,
  22. "body": null,
  23. "body_format": "raw",
  24. "client_cert": null,
  25. "client_key": null,
  26. "content": null,
  27. "creates": null,
  28. "delimiter": null,
  29. "dest": null,
  30. "directory_mode": null,
  31. "follow": false,
  32. "follow_redirects": "safe",
  33. "force": false,
  34. "force_basic_auth": false,
  35. "group": null,
  36. "headers": {
  37. "Content-Length": 10489608
  38. },
  39. "http_agent": "ansible-httpget",
  40. "method": "PUT",
  41. "mode": null,
  42. "owner": null,
  43. "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
  44. "regexp": null,
  45. "remote_src": null,
  46. "removes": null,
  47. "return_content": true,
  48. "selevel": null,
  49. "serole": null,
  50. "setype": null,
  51. "seuser": null,
  52. "src": "/home/lbrigman/.ansible/tmp/ansible-tmp-1562194209.72-244804686665535/ansible-2.6.14-1.el7.noarch.rpm",
  53. "status_code": [
  54. "200"
  55. ],
  56. "timeout": 30,
  57. "unsafe_writes": null,
  58. "url": "https://binaryrepo-east.arrisi.com/artifactory/mdc-4.0.7/ansible-2.6.14-1.el7.noarch.rpm",
  59. "url": "https://binaryrepo-east.arrisi.com/artifactory/mdc-4.0.7/ansible-2.6.14-1.el7.noarch.rpm"
  60. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement