chore: use FQCN for module name

This commit is contained in:
Adrien Waksberg 2021-08-24 08:06:07 +02:00
parent c821b91dd9
commit 1e057c9ba1
4 changed files with 14 additions and 10 deletions

View file

@ -10,6 +10,10 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
- feat: add gitlab_data_dir variable
- feat: add gitlab_pages_url variable
### Changed
- chore: use FQCN for module name
## [v1.0.0] - 2020-04-11
- first version

View file

@ -1,4 +1,3 @@
---
- name: reconfigure gitlab
command: gitlab-ctl reconfigure
tags: gitlab
ansible.builtin.command: gitlab-ctl reconfigure

View file

@ -15,6 +15,6 @@
pre_tasks:
- name: delete dockerenv file
file:
ansible.builtin.file:
path: /.dockerenv
state: absent

View file

@ -1,21 +1,22 @@
---
- name: add gpg key
apt_key:
ansible.builtin.apt_key:
url: https://packages.gitlab.com/gitlab/gitlab-ce/gpgkey
tags: gitlab
- name: add repository
apt_repository:
ansible.builtin.apt_repository:
repo: '{{ gitlab_repository }}'
tags: gitlab
- name: install package
package:
name: gitlab-ce
ansible.builtin.package:
name:
- gitlab-ce
tags: gitlab
- name: copy config
template:
ansible.builtin.template:
src: gitlab.rb.j2
dest: /etc/gitlab/gitlab.rb
owner: root
@ -25,13 +26,13 @@
tags: gitlab
- name: init gitlab
command: gitlab-ctl reconfigure
ansible.builtin.command: gitlab-ctl reconfigure
args:
creates: /usr/lib/systemd/system/gitlab-runsvdir.service
tags: gitlab
- name: enable and start service
service:
ansible.builtin.service:
name: gitlab-runsvdir
state: started
enabled: true