dimmaryanto93.gitlab_runner_docker_executor

dimmaryanto93.gitlab-runner-docker-executor

This repository is used to install and configure gitlab-runner using the docker executor for Linux.

Supported Platforms

  • Debian
  • Ubuntu
  • CentOS

Ansible - User Guide

Here's what you need to do to prepare:

  1. Create a new user on your server. It's recommended to use a very strong password or a password generator.

    adduser <username>
    
  2. Grant the user sudo privileges without a password, using visudo.

    username    ALL=(ALL) NOPASSWD:ALL
    
  3. Authenticate using a private key for SSH login. Generate an SSH key on your local machine and then use ssh-copy-id user@your-ip-server to copy the public key to your server.

Requirements

None

Role Variables

There are several variables you can use to configure the Docker daemon. For more details, please check the documentation here.

Dependencies

None

Example Playbook

Here’s an example of how to use this role (for example, with variables passed in as parameters):

- hosts: servers
  become: true
  roles:
      - { role: dimmaryanto93.gitlab_runner }

License

MIT

Informazioni sul progetto

Configure gitlab-runner using docker executor for linux distribution

Installa
ansible-galaxy install dimmaryanto93.gitlab_runner_docker_executor
Licenza
Unknown
Download
113
Proprietario
Chief Technology Officer @tabeldatadotcom