Start Gitlab Omnibus service as Docker container.
ansible-galaxy install Furdarius.gitlabAll variables can be found in defaults/main.yml
SSL Certificates for Gitlab and Docker-Registry automaticaly will be imported from gitlab_cers_folder path. This folder should contain 2 certs: gitlab.example.com.crt, registry.example.com.crt.
- Docker engine >=
1.13.1installed on remote machine- You can use ansible-docker role to install it.
- docker-py >=
1.10.6 - python-netaddr >=
0.7.19
--- - hosts: gitlab become: true roles: - gitlab vars: gitlab_url: "https://gitlab.infr.local" registry_url: "https://registry.infr.local" gitlab_cers_folder: "./certs_folder_on_local_machine" tags: - gitlab