Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/th1enlm02/ansible-harbor-configuration
This setup about configuring Harbor by Ansible
https://github.com/th1enlm02/ansible-harbor-configuration
Last synced: 5 days ago
JSON representation
This setup about configuring Harbor by Ansible
- Host: GitHub
- URL: https://github.com/th1enlm02/ansible-harbor-configuration
- Owner: th1enlm02
- Created: 2024-08-13T15:35:48.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-16T05:05:45.000Z (3 months ago)
- Last Synced: 2024-08-16T06:24:25.635Z (3 months ago)
- Language: Jinja
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Install and configure Harbor using Ansible
## About
This is a setup for installing and managing configurations of [**Harbor**](https://goharbor.io/). The setup is only configured for HTTP access (port 80). For HTTPs access, you need to follow this [**link**](https://goharbor.io/docs/2.0.0/install-config/) to see the detailed instructions.
## Preriquisites
1. **Ansible host**: Of course you need to install Ansible first → [Here](https://docs.ansible.com/ansible/latest/installation_guide/installation_distros.html)
2. **Harbor server**:
- [Docker](https://docs.docker.com/engine/install/)
- [Docker Compose](https://docs.docker.com/compose/install/)> :memo: The Harbor's version will be installed is v2.11.0 and I will use the offline installer.
## Let's go
1. **Clone the repo**:
```bash
git clone https://github.com/th1enlm02/Ansible-Harbor-Configuration.git
cd Ansible-Harbor-Configuration
```
2. **In the Ansible host**:```bash
ansible-playbook -i inventory site.yml
```
###
> :warning: This setup is a example and just suitable for my context. You should update some variables if you want to use it.