Skip to content

Commit

Permalink
add variables and documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
kayiwa committed Oct 6, 2024
1 parent 91136a9 commit 5441093
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 2 additions & 4 deletions roles/gitlab/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,15 @@
Role Name
=========

A brief description of the role goes here.

Installs and configures [Gitlab CE](https://about.gitlab.com/install/#ubuntu)
Requirements
------------

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables
--------------

A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.
`gitlab_loadbalancer_domain_name: "github-http-name.princeton.edu`

Dependencies
------------
Expand Down
4 changes: 3 additions & 1 deletion roles/gitlab/handlers/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@
name: postfix
state: restarted

- name: reconfigure gitlab
- name: Reconfigure gitlab
ansible.builtin.command: gitlab-ctl reconfigure
changed_when: false
when: running_on_server
2 changes: 1 addition & 1 deletion roles/gitlab/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@
owner: root
group: root
mode: "0600"
notify: reconfigure gitlab
notify: Reconfigure gitlab

0 comments on commit 5441093

Please sign in to comment.