diff --git a/gitlab_server.svg b/gitlab_server.svg new file mode 100644 index 0000000..fce1f39 --- /dev/null +++ b/gitlab_server.svg @@ -0,0 +1,1039 @@ + + + + + + + +gitlab_server.yml + + +gitlab_server.yml + + + + + +play_ffaaff74 + + +Play: gitlab_servers (0) + + + + + +gitlab_server.yml->play_ffaaff74 + + + + + + +1 Play: gitlab_servers (0) + + + + + +role_d7dddf15 + + +[role] docker + + + + + +play_ffaaff74->role_d7dddf15 + + + + + + +1 + + + + + +role_62b7eeab + + +[role] traefik + + + + + +play_ffaaff74->role_62b7eeab + + + + + + +2 + + + + + +role_0a0c8282 + + +[role] gitlab_server + + + + + +play_ffaaff74->role_0a0c8282 + + + + + + +3 + + + + + +task_c91075f2 + + +docker : Ensure old versions of Docker are not installed. + + + + + +role_d7dddf15->task_c91075f2 + + + + + + +1 + + + + + +task_9c30175c + + +docker : Add Docker GPG key. + + + + + +role_d7dddf15->task_9c30175c + + + + + + +2 + + + + + +task_1b97e24f + + +docker : Add Docker repository. + + + + + +role_d7dddf15->task_1b97e24f + + + + + + +3 + + + + + +task_e826aa6a + + +docker : Ensure container-selinux is installed. + + + + + +role_d7dddf15->task_e826aa6a + + + + + + +4 [when: ansible_distribution_major_version | int == 8] + + + + + +task_c6268f7e + + +docker : Ensure containerd.io is installed. + + + + + +role_d7dddf15->task_c6268f7e + + + + + + +5 [when: ansible_distribution_major_version | int == 8] + + + + + +task_e8eb5360 + + +docker : Ensure old versions of Docker are not installed. + + + + + +role_d7dddf15->task_e8eb5360 + + + + + + +6 + + + + + +task_83151c24 + + +docker : Ensure dependencies are installed. + + + + + +role_d7dddf15->task_83151c24 + + + + + + +7 + + + + + +task_40d804c2 + + +docker : Ensure additional dependencies are installed (on Ubuntu < 20.04 and any other systems). + + + + + +role_d7dddf15->task_40d804c2 + + + + + + +8 [when: ansible_distribution != 'Ubuntu' or ansible_distribution_version is version('20.04', '<')] + + + + + +task_e1380f01 + + +docker : Ensure additional dependencies are installed (on Ubuntu >= 20.04). + + + + + +role_d7dddf15->task_e1380f01 + + + + + + +9 [when: ansible_distribution == 'Ubuntu' and ansible_distribution_version is version('20.04', '>=')] + + + + + +task_315c58c6 + + +docker : Add Docker apt key. + + + + + +role_d7dddf15->task_315c58c6 + + + + + + +10 + + + + + +task_ee18445d + + +docker : Ensure curl is present (on older systems without SNI). + + + + + +role_d7dddf15->task_ee18445d + + + + + + +11 [when: add_repository_key is failed] + + + + + +task_08091d75 + + +docker : Add Docker apt key (alternative for older systems without SNI). + + + + + +role_d7dddf15->task_08091d75 + + + + + + +12 [when: add_repository_key is failed] + + + + + +task_db4270f5 + + +docker : Add Docker repository. + + + + + +role_d7dddf15->task_db4270f5 + + + + + + +13 + + + + + +task_568b8cf5 + + +docker : Install Docker packages. + + + + + +role_d7dddf15->task_568b8cf5 + + + + + + +14 [when: ansible_version.full is version_compare('2.12', '<') or ansible_os_family not in ['RedHat', 'Debian']] + + + + + +task_81cf7083 + + +docker : Install Docker packages (with downgrade option). + + + + + +role_d7dddf15->task_81cf7083 + + + + + + +15 [when: ansible_version.full is version_compare('2.12', '>=') and ansible_os_family in ['RedHat', 'Debian']] + + + + + +task_9cc25335 + + +docker : Ensure /etc/docker/ directory exists. + + + + + +role_d7dddf15->task_9cc25335 + + + + + + +16 [when: docker_daemon_options.keys() | length > 0] + + + + + +task_73670058 + + +docker : Configure Docker daemon options. + + + + + +role_d7dddf15->task_73670058 + + + + + + +17 [when: docker_daemon_options.keys() | length > 0] + + + + + +task_039b7352 + + +docker : Ensure Docker is started and enabled at boot. + + + + + +role_d7dddf15->task_039b7352 + + + + + + +18 [when: docker_service_manage | bool] + + + + + +task_08e5fb66 + + +docker : Ensure handlers are notified now to avoid firewall conflicts. + + + + + +role_d7dddf15->task_08e5fb66 + + + + + + +19 + + + + + +task_0e7b3c98 + + +docker : Get docker group info using getent. + + + + + +role_d7dddf15->task_0e7b3c98 + + + + + + +20 [when: docker_users | length > 0] + + + + + +task_74957a2b + + +docker : Check if there are any users to add to the docker group. + + + + + +role_d7dddf15->task_74957a2b + + + + + + +21 [when: docker_users | length > 0 and item not in ansible_facts.getent_group["docker"][2]] + + + + + +task_37d475c5 + + +docker : Ensure docker users are added to the docker group. + + + + + +role_d7dddf15->task_37d475c5 + + + + + + +22 + + + + + +task_bd4a9996 + + +traefik : vagrant | Create user + + + + + +role_62b7eeab->task_bd4a9996 + + + + + + +1 + + + + + +task_e24de955 + + +traefik : Ensure /etc/certs exist + + + + + +role_62b7eeab->task_e24de955 + + + + + + +2 + + + + + +task_447069fe + + +traefik : Copy cert on {{ inventory_hostname }}. + + + + + +role_62b7eeab->task_447069fe + + + + + + +3 + + + + + +task_3eef9bc3 + + +traefik : Add network for container + + + + + +role_62b7eeab->task_3eef9bc3 + + + + + + +4 + + + + + +task_61db6219 + + +traefik : Create traefik container + + + + + +role_62b7eeab->task_61db6219 + + + + + + +5 + + + + + +task_b0659952 + + +gitlab_server : Install packages + + + + + +role_0a0c8282->task_b0659952 + + + + + + +1 + + + + + +task_7465483e + + +gitlab_server : Create directories + + + + + +role_0a0c8282->task_7465483e + + + + + + +2 + + + + + +task_d6e4a79d + + +gitlab_server : Gitlab - Container up + + + + + +role_0a0c8282->task_d6e4a79d + + + + + + +3 + + + + + +task_2f2c6fcd + + +gitlab_server : Deploy gitlab config file + + + + + +role_0a0c8282->task_2f2c6fcd + + + + + + +4 + + + + + +task_06c0ac9f + + +gitlab_server : Modify sysctl values + + + + + +role_0a0c8282->task_06c0ac9f + + + + + + +5 + + + + + +task_68a4a9c8 + + +gitlab_server : Get initial root password for gitlab authent + + + + + +role_0a0c8282->task_68a4a9c8 + + + + + + +6 + + + + + +task_c4f76924 + + +gitlab_server : Print password + + + + + +role_0a0c8282->task_c4f76924 + + + + + + +7 + + + + + \ No newline at end of file