GithubHelp home page GithubHelp logo

hifis-net / ansible-role-gitlab Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 4.0 586 KB

:warning: This role has been migrated to our hifis.toolkit collection. :warning: This role installs and configures the GitLab Omnibus package.

Home Page: https://galaxy.ansible.com/hifis/toolkit

License: Other

Jinja 100.00%
ansible gitlab gitlab-omnibus omnibus

ansible-role-gitlab's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-role-gitlab's Issues

Molecule folder not linted by molecule

When providing . as the folder path of the lintables to ansible-lint it does not lint the folder molecule/default containing converge.yml, prepare.yml, verify.yml, hence folder molecule/ need to be added to the ansible-lint call in the molecule lint commands.

Linting violations need to be fixed alongside this change.

Prefix variables with role name

Currently, only a couple of variables are prefixed with the role name. This way they conflict with variables configured in other roles, e.g. redis_password. It should better be called gitlab_redis_password.

conditional check 'gitlab_ctl.stat.exists' failed

The conditional check 'gitlab_ctl.stat.exists' failed. The error was: error while evaluating conditional (gitlab_ctl.stat.exists): 'gitlab_ctl' is undefined. 'gitlab_ctl' is undefined
  
    The error appears to be in '/home/bestflei/dev/hifis/technology/gitlab/roles/external/hifis.gitlab/tasks/reconfigure.yml': line 8, column 3, but may
    be elsewhere in the file depending on the exact syntax problem.
  
    The offending line appears to be:
  
  
    - name: Reconfigure Primary GitLab
      ^ here

Related to #131

Add a contribution guide

In order to motivate people to contribute a CONTRIBUTING guide for Ansible roles needs to be put into this repository.

Improve Molecule verification step

Currently, the verification step is rather testing a bit of basic stuff. This should be extended.

  • Verify if GitLab is properly running via gitlab status
  • Retrieve information from the health endpoints
  • Check the web interface.

Update package cache in check-mode

To avoid the error of a supposedly non-existent package due to an outdated package cache.

TASK [external/hifis.gitlab : Install or upgrade GitLab.] **********************
fatal: [host.example.org]: FAILED! => changed=false 
  cache_update_time: 1669795358
  cache_updated: true
  msg: no available installation candidate for gitlab-ce=15.5.5-ce.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.