Skip to content

bberto/ansible-nexus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-nexus

Nexus module for ansible. It speaks to the nexus API.

It can be used like so:

Place 'nexus' in 'library/nexus' next to your ansible script.

A task can look like this

- name: Download rpc-repository to this host
  local_action: nexus
      nexus=http://nexus.vpro.nl/
      artifactId=nl.vpro.stats:stats-backend:{{version}}
      extension=jar
    register: download

- name: Upload rpc-repository
  copy:
    src={{download.dest}}
    dest=/opt/{{file}}

Here the action is executed locally, because the remote host may not have access to the nexus server.

About

Nexus module for ansible

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 97.5%
  • Makefile 2.5%