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_data_dir variable
- feat: add gitlab_pages_url variable - feat: add gitlab_pages_url variable
### Changed
- chore: use FQCN for module name
## [v1.0.0] - 2020-04-11 ## [v1.0.0] - 2020-04-11
- first version - first version

View file

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

View file

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

View file

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