{"id":20572195,"url":"https://github.com/mcaimi/ansible-nexus-module","last_synced_at":"2025-04-14T17:10:22.014Z","repository":{"id":69446889,"uuid":"368258758","full_name":"mcaimi/ansible-nexus-module","owner":"mcaimi","description":"Ansible Module to interact with Sonatype Nexus3","archived":false,"fork":false,"pushed_at":"2021-05-24T15:21:29.000Z","size":27,"stargazers_count":5,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-28T05:41:29.411Z","etag":null,"topics":["ansible-modules","nexus3"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mcaimi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-05-17T16:50:53.000Z","updated_at":"2024-04-29T07:58:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"c91cd48b-0f1b-4c7b-8508-a09fb83ae0ef","html_url":"https://github.com/mcaimi/ansible-nexus-module","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Fansible-nexus-module","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Fansible-nexus-module/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Fansible-nexus-module/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Fansible-nexus-module/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcaimi","download_url":"https://codeload.github.com/mcaimi/ansible-nexus-module/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248923764,"owners_count":21183954,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible-modules","nexus3"],"created_at":"2024-11-16T05:18:47.192Z","updated_at":"2025-04-14T17:10:21.999Z","avatar_url":"https://github.com/mcaimi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ansible Module to interact with Sonatype Nexus\n\nAn extremely simple implementation of Nexus3 upload/download APIs for Ansible.\nRequires:\n\n * python-requests\n * python3\n * ansible 3+\n\n## Artifact Upload Example\n\n```yaml\n    - name: Upload an artifact to nexus\n      nexus:\n        nexus_endpoint: \"http://nexus.apps.kubernetes.local\"\n        username: \"jenkins-nexus\"\n        password: \"jenkins\"\n        artifact_id: \"org.redhat:new-application-artifact:1.0.0-RELEASE\"\n        artifact_format: \"jar\"\n        source: \"/tmp/artifact.jar\"\n        operation: \"PUT\"\n        repository: \"maven-releases\"\n```\n\n## Artifact Download Example\n\n```yaml\n    - name: Download an  artifact from Nexus repo\n      nexus:\n        nexus_endpoint: \"http://nexus.apps.kubernetes.local\"\n        username: \"jenkins-nexus\"\n        password: \"jenkins\"\n        artifact_id: \"org.redhat:openshift-demo-application-quarkus-runner:1.1.1-SNAPSHOT.12\"\n        artifact_format: \"jar\"\n        target: \"/tmp/artifact.jar\"\n        repository: \"maven-snapshots\"\n```\n\n## TODO\n\n * Better error handling\n * Better Nexus API usage\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaimi%2Fansible-nexus-module","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcaimi%2Fansible-nexus-module","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaimi%2Fansible-nexus-module/lists"}