Skip to content
Extraits de code Groupes Projets
Valider ff495210 rédigé par Théo - Le Filament's avatar Théo - Le Filament
Parcourir les fichiers

change: apply new APT keyring recommandations and increase time limit of...

change: apply new APT keyring recommandations and increase time limit of GitLab Runner APT installation
parent 1e22590d
Branches
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -9,8 +9,10 @@ ...@@ -9,8 +9,10 @@
when: ansible_os_family == "Debian" and not ansible_check_mode when: ansible_os_family == "Debian" and not ansible_check_mode
- name: Add GitLab Runner GPG key to APT - name: Add GitLab Runner GPG key to APT
apt_key: get_url:
url: "{{ gitlab_runner_gpg_key_url }}" url: "{{ gitlab_runner_gpg_key_url }}"
dest: /etc/apt/trusted.gpg.d/gitlab-runner.asc
mode: '0644'
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"
- name: Add GitLab repo to APT repositories - name: Add GitLab repo to APT repositories
...@@ -19,15 +21,15 @@ ...@@ -19,15 +21,15 @@
update_cache: true update_cache: true
when: ansible_os_family == "Debian" when: ansible_os_family == "Debian"
- name: Install GitLab package - name: Install GitLab Runner package
package: package:
name: gitlab-runner name: gitlab-runner
state: latest state: latest
async: 120 async: 300
poll: 10 poll: 10
when: not ansible_check_mode when: not ansible_check_mode
- name: Check installed GitLab package - name: Check installed GitLab Runner package
package: package:
name: gitlab-runner name: gitlab-runner
state: latest state: latest
......
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