ansible. role4 установка gitlab/registry/multi-runner

Thank you for reading this post, don't forget to subscribe!

дан­ная роль уста­но­вит gitlab gitlab-registry  gitlab-multi-runner docker

созда­ём струк­ту­ру директорий:
mkdir -p /etc/ansible/{playbooks/roles_play,roles/gitlab-gitlab-runner/{handlers,tasks,templates}}

cat /etc/ansible/playbooks/roles_play/gitlab-ce.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/handlers/main.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/templates/config.json

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/templates/http-proxy.conf

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/templates/gitlab.repo.j2

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/templates/runner-gitlab-runner.repo

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/add-repo-docker.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/docker-compose-preinstall.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/docker-preinstall.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/docker_proxy.yaml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/gitlab-gitlab-runner-preinstall.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/gitlab-install.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/gitlab-registry.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/gitlab-runner-install.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/install-docker-compose.yml

[codesyntax lang="bash" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/install-docker.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]

cat /etc/ansible/roles/gitlab-gitlab-runner/tasks/main.yml

[codesyntax lang="php" blockstate="collapsed"]

[/codesyntax]