Role Name ========= This role deploys a gitlab-ee instance and does the following: * gitlab installation w/ features * deploys gitlab.rb * deploys gitlab-secrets.json * deploys gitlab ee license * deploys gitlab host keys * triggers gitlab reconfiguration Requirements ------------ * none Role Variables -------------- See defaults/main.yml Dependencies ------------ * none Example Playbook ---------------- ```yaml - name: playbook to install gitlab hosts: gitlab become: yes roles: - gitlab ``` Additional Information ---------------------- Due to the lack of any secret store, the `host_vars` are encrypted using ansible vault and the password of the ansible user. How to test: ``` $ ansible-playbook -i inventories/lab/hosts plays/gitlab.yml --ask-vault-pass --check --diff $ ansible-playbook -i inventories/tst/hosts plays/gitlab.yml --ask-vault-pass --check --diff $ ansible-playbook -i inventories/prd/hosts plays/gitlab.yml --ask-vault-pass --check --diff ``` How to see the `host_vars`: ``` $ ansible-vault edit inventories/lab/host_vars/mbzex30855.mbmain.migrosbank.ch.yml $ ansible-vault edit inventories/tst/host_vars/mbztx30855.mbmain.migrosbank.ch.yml $ ansible-vault edit inventories/prd/host_vars/mbzpx30855.mbmain.migrosbank.ch.yml ``` Note: If you'd like to see any actual diff output during the test run, you need to remove or disable the `no_log` directive in the configure.yml task.