@@ -13,6 +13,10 @@ Ensure the following requirements are met before running the playbooks:
1313- Docker installed on the target servers
1414- Proper inventory configuration (` nexus_servers ` group in your inventory)
1515
16+ ``` bash
17+ ansible-galaxy collection install community.docker
18+ ```
19+
1620## Playbooks
1721
1822### ` nexus_docker.yml ` ⚙️
@@ -28,7 +32,7 @@ This playbook performs the following tasks:
2832#### Usage
2933
3034``` bash
31- ansible-playbook -i inventory nexus_docker.yml
35+ ansible-playbook -i inventory.ini nexus_docker.yml
3236```
3337
3438
@@ -40,7 +44,7 @@ Copy code
4044
4145This repository contains two Ansible playbooks for managing a Nexus Repository Docker container:
4246
43- 1 . ` nexus_docker .yml` - Sets up and starts a Nexus Repository in a Docker container.
47+ 1 . ` install-nexus .yml` - Sets up and starts a Nexus Repository in a Docker container.
44482 . ` cleanup_nexus_docker.yml ` - Stops, removes the Nexus container, its Docker image, and cleans up associated data directories.
4549
4650## Requirements 📋
@@ -66,7 +70,7 @@ This playbook performs the following tasks:
6670#### Usage
6771
6872``` bash
69- ansible-playbook -i inventory nexus_docker.yml
73+ ansible-playbook -i inventory.ini nexus_docker.yml
7074```
7175#### Variables:
7276| ** Variable** | ** Description** |
@@ -89,7 +93,7 @@ This playbook cleans up the Nexus Docker setup:
8993#### Usage
9094
9195``` bash
92- ansible-playbook -i inventory cleanup_nexus_docker.yml
96+ ansible-playbook -i inventory.ini cleanup_nexus_docker.yml
9397```
9498#### Variables:
9599| ** Variable** | ** Description** |
0 commit comments