added the a preparing ansible playbooks for automating new servers

This commit is contained in:
rezayaghobi-dev
2026-08-23 22:11:09 +03:30
parent e8422c0006
commit aedfdbddb7
73 changed files with 2971 additions and 44 deletions

View File

@@ -0,0 +1,27 @@
---
# project directory
REPO_DIRE_NAME: /var/services
# nexus3, gitlab, and traefik docker image address and version
NEXUS_IMAGE: sonatype/nexus3
NEXUS_VERSION: 3.38.0
TRAEFIK_IMAGE: traefik
TRAEFIK_VERSION: v2.6.1
# Domain and subdomain definition
DOMAIN_NAME: ansible.mecan.ir
TRAEFIK_SUB_DOMAIN: web
NEXUS_SUB_DOMAIN: repo
HUB_SUB_DOMAIN: hub
# pass generate with this commands
# htpasswd -nbs user pass
WEB_AUTH_USER: DockerMe
TRAEFIK_ACME_EMAIL: ahmad@DockerMe.ir
# Nexus configuration
NEXUS_ADMIN_USERNAME: admin
NEXUS_SERVICE_URL: "https://{{ NEXUS_SUB_DOMAIN }}.{{ DOMAIN_NAME }}"
NEXUS_REPO_USERNAME: repo
NEXUS_REPO_EMAIL: ahmad@DockerMe.ir
DOCKER_REPO_BLOBSTORE: docker