Adding new functions to deploy and delete
The patch addes new functions to deploy artifacts to a repo and
delete this one from the repo.
* To deploy artifact below paramters should be defined in a state:
test_deploy:
artifactory.deploy_artifact:
- user: user
- password: password
- host: artifactory.host.name
- proto: https
- port: 443
- source_file: /file/to/deploy.log
- endpoint: /repo-local/dir_if_needed/
* To delete artifact or directory the below paramets should be defined.
CAUTION: The directory will be delete recursively.
test_delete:
artifactory.delete_artifact:
- user: user
- password: password
- host: artifactory.host.name
- proto: https
- port: 443
- item_to_delete: /repo-local/file_or_dir_to_be_deleted
Change-Id: I92b1a1cf751f00844311f7bada9baf0a17b02874
1 file changed