Skip to content

mahmoudmohamed22/Automate-Nexus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automate-Nexus with Ansible

This repository contains Ansible playbooks, roles, and configurations to automate the installation of Nexus, a repository manager, using Ansible.

Directory Structure

The repository follows the standard Ansible role directory structure. The main files and directories are as follows: image

Prerequisites

Before running the Ansible playbooks, ensure that you have the following:

  • Ansible installed on your local machine.
  • Access to the target host where Nexus will be installed.
  • SSH access to the target host with appropriate permissions.

Getting Started

To get started with the installation, follow these steps:

  1. Clone the repository to your local machine:

    git clone https://github.com/mahmoudmohamed22/Automate-Nexus.git
  2. Navigate to the repository directory:

cd Automate-Nexus
  1. Using Dynamic Inventory to get public hosts in specific region .

  2. Run the playbook to install Nexus:

ansible-playbook playbook.yml

5.Access Nexus by navigating to http://:8081 in your web browser.

install nexus with ansible

Screenshot from 2023-06-17 22-36-50

check nexus availibility with handler

Screenshot from 2023-06-17 22-36-34

Automate Nexus Deployment

Screenshot from 2023-06-17 21-50-34

Contributing

Contributions to this repository are welcome! If you find any issues or have suggestions for improvement, please open an issue or submit a pull request.