Skip to content
Extraits de code Groupes Projets
Valider 665904a1 rédigé par Rémi - Le Filament's avatar Rémi - Le Filament
Parcourir les fichiers

Update PATH for gitlab

parent ff92d885
Branches
Étiquettes
Aucune requête de fusion associée trouvée
...@@ -163,6 +163,14 @@ ...@@ -163,6 +163,14 @@
sysctl_set: true sysctl_set: true
with_items: "{{ sysctl_disable_ipv6_keys }}" with_items: "{{ sysctl_disable_ipv6_keys }}"
- name: set default path
template:
src: environment.j2
dest: /etc/environment
owner: root
group: root
mode: '0644'
- name: Check if backup servers present in root known hosts - name: Check if backup servers present in root known hosts
lineinfile: lineinfile:
path: /root/.ssh/known_hosts path: /root/.ssh/known_hosts
......
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin{% if inventory_hostname in groups.gitlab %}:/opt/gitlab/embedded/bin{% endif %}"
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter