Sonatype Nexus Repository Manager 3
n/a
# from defaults/main.yml
nexus_version:
nexus_workdir: /opt/nexus/sonatype-work/nexus3
nexus_piddir: /var/run/nexus
nexus_user: nexus
nexus_group: nexus
# from vars/main.yml
nexus_name: "nexus-{{ nexus_version }}"
nexus_tarfile: "{{ nexus_name }}-unix.tar.gz"
nexus_base_url: https://download.sonatype.com/nexus/3
nexus_url: "{{ nexus_base_url }}/{{ nexus_tarfile }}"
nexus_location: /opt/nexus
nexus_home: "{{ nexus_location }}/{{ nexus_name }}"
nexus_context_path: /
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
roles:
- role: dockpack.nexus
BSD
Bas Meijer: bbaassssiiee