Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - name: push pkgs to remote repo
- uri:
- url: "{{base_url}}/{{repo_name}}/{{item}}"
- user: "{{username}}"
- password: "{{userpass}}"
- method: PUT
- src: "{{base_dir}}/{{item}}"
- status_code: 200
- return_content: true
- with_items:
- - "{{pkgs.stdout_lines}}"
- ------------------------------------
- error info:
- failed: [localhost] (item=ansible-2.6.14-1.el7.noarch.rpm) => {
- "changed": false,
- "content": "",
- "invocation": {
- "module_args": {
- "attributes": null,
- "backup": null,
- "body": null,
- "body_format": "raw",
- "client_cert": null,
- "client_key": null,
- "content": null,
- "creates": null,
- "delimiter": null,
- "dest": null,
- "directory_mode": null,
- "follow": false,
- "follow_redirects": "safe",
- "force": false,
- "force_basic_auth": false,
- "group": null,
- "headers": {
- "Content-Length": 10489608
- },
- "http_agent": "ansible-httpget",
- "method": "PUT",
- "mode": null,
- "owner": null,
- "password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
- "regexp": null,
- "remote_src": null,
- "removes": null,
- "return_content": true,
- "selevel": null,
- "serole": null,
- "setype": null,
- "seuser": null,
- "src": "/home/lbrigman/.ansible/tmp/ansible-tmp-1562194209.72-244804686665535/ansible-2.6.14-1.el7.noarch.rpm",
- "status_code": [
- "200"
- ],
- "timeout": 30,
- "unsafe_writes": null,
- "url": "https://binaryrepo-east.arrisi.com/artifactory/mdc-4.0.7/ansible-2.6.14-1.el7.noarch.rpm",
- "url": "https://binaryrepo-east.arrisi.com/artifactory/mdc-4.0.7/ansible-2.6.14-1.el7.noarch.rpm"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement