Skip to content
This repository was archived by the owner on Sep 6, 2023. It is now read-only.

Commit e0134eb

Browse files
authored
Add an async/poll
On install gitlab takes a while and ssh connections can time out in some network environments. This adds a poll to the install command to try and ensure things don't time out during initial install
1 parent bb5e1cc commit e0134eb

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
package:
4949
name: "{{ gitlab_package_name | default(gitlab_edition) }}"
5050
state: present
51+
async: 300
52+
poll: 5
5153
when: not gitlab_file.stat.exists
5254

5355
# Start and configure GitLab. Sometimes the first run fails, but after that,

0 commit comments

Comments
 (0)