Managing Hosts with Ansible

What do we need? There are a few things we need to start with managing hosts with ansible. SSH keys Place to store our files Inventory file Creating SSH key To manage hosts, we need to use a SSH key. We can create them with the following …

Ansible? what is that!

Ansible is a configuration management tool that can be used for configuring servers, clients and network equipment. The basic way of using this tool is through SSH, utilizing passwords or preferably SSH keys. In this series we will be using …

Create and check certificates

Linux/MacOS OpenSSL MD5 modules You can use MD5 module to check if key and cert are a keypair toghter. 1 2 openssl rsa -modulus -noout -in <name>.key| openssl md5 openssl x509 -modulus -noout -in <name>.crt| openssl md5 …

Gitlab locked login backdoor

When locked out of the Gitlab environment, you’ll need to enable default sign-in method when OIDC or AD is configured. This could be done from within the UI, but if you are locked out then this method will ofcourse not work. Enabling …

How to configure Gitlab Advanced Search

Docker-compose elastic setup This guide is based on docker-compose setup from elasticsearch. https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html Add the Elastic IP Add the IP and DNS from docker host to Gitlab. 1 …

How to do a Gitlab Major version upgrade

Upgrade Path You can check the upgrade path on the following site: https://gitlab-com.gitlab.io/support/toolbox/upgrade-path/. This website is made by Gitlab, and will give a good overview about changes and new features for the upgrades you …

How to reindex Gitlab Advanced_search

Advanced Search page Gitlab Go to the Admin page in Gitlab > Settings > Advanced Search Expand Advanced Search to see the configuration. Disabling feature Go to the Advanced search page in Gitlab De-select the following options; …