feat: add gitlab_pages_url variable
This commit is contained in:
parent
b6600b4d77
commit
c821b91dd9
3 changed files with 6 additions and 2 deletions
|
@ -8,6 +8,7 @@ Which is based on [Keep A Changelog](http://keepachangelog.com/)
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
- feat: add gitlab_data_dir variable
|
- feat: add gitlab_data_dir variable
|
||||||
|
- feat: add gitlab_pages_url variable
|
||||||
|
|
||||||
## [v1.0.0] - 2020-04-11
|
## [v1.0.0] - 2020-04-11
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,8 @@ Install and configure a Gitlab server
|
||||||
|
|
||||||
## Role variables
|
## Role variables
|
||||||
|
|
||||||
- `gitlab_url` - set the gitlab url (default: `http://gitlab.example.com`)
|
- `gitlab_url` - set the gitlab url
|
||||||
|
- `gitlab_pages_url` - set the gitlab pages url
|
||||||
- `gitlab_data_dir` - set the path for repository
|
- `gitlab_data_dir` - set the path for repository
|
||||||
- `gitlab_config` - set the config
|
- `gitlab_config` - set the config
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
# {{ ansible_managed }}
|
# {{ ansible_managed }}
|
||||||
|
|
||||||
external_url '{{ gitlab_url }}'
|
external_url '{{ gitlab_url }}'
|
||||||
|
{% if gitlab_pages_url is defined %}
|
||||||
|
pages_external_url '{{ gitlab_pages_url }}'
|
||||||
|
{% endif %}
|
||||||
{% if gitlab_data_dir is defined %}
|
{% if gitlab_data_dir is defined %}
|
||||||
|
|
||||||
git_data_dirs({
|
git_data_dirs({
|
||||||
"default" => {
|
"default" => {
|
||||||
"path" => "{{ gitlab_data_dir }}"
|
"path" => "{{ gitlab_data_dir }}"
|
||||||
|
|
Loading…
Reference in a new issue