21 lines
447 B
YAML
21 lines
447 B
YAML
---
|
|
- name: Converge
|
|
hosts: all
|
|
become: true
|
|
|
|
vars:
|
|
gitlab_restart_handler_failed_when: false
|
|
|
|
pre_tasks:
|
|
- name: Update apt cache.
|
|
apt: update_cache=true cache_valid_time=600
|
|
when: ansible_os_family == 'Debian'
|
|
changed_when: false
|
|
|
|
- name: Remove the .dockerenv file so GitLab Omnibus doesn't get confused.
|
|
file:
|
|
path: /.dockerenv
|
|
state: absent
|
|
|
|
roles:
|
|
- role: geerlingguy.gitlab
|