Commit 387c7f2a authored by Harold Barker's avatar Harold Barker

Initial commit

parents
---
language: python
python: "2.7"
# Use the new container infrastructure
sudo: false
# Install ansible
addons:
apt:
packages:
- python-pip
install:
# Install ansible
- pip install ansible
# Check ansible version
- ansible --version
# Create ansible.cfg with correct roles_path
- printf '[defaults]\nroles_path=../' >ansible.cfg
script:
# Basic role syntax check
- ansible-playbook tests/test.yml -i tests/inventory --syntax-check
notifications:
webhooks: https://galaxy.ansible.com/api/v1/notifications/
\ No newline at end of file
The MIT License (MIT)
Copyright (c) 2016 Harold Barker
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
GitLab Runner
=============
This role will install the official GitLab Runner
Requirements
------------
This role requires Ansible 2.0 or higher.
Role Variables
--------------
Dependencies
------------
None
Example Playbook
----------------
License
-------
MIT
---
# defaults file for gitlab-runner
---
# handlers file for gitlab-runner
---
galaxy_info:
author: Harold Barker
description: GitLab Runner
license: MIT
min_ansible_version: 2.0
platforms:
- name: EL
versions:
- 6
galaxy_tags:
- development
dependencies: []
---
# tasks file for gitlab-runner
localhost
\ No newline at end of file
---
- hosts: localhost
remote_user: root
roles:
- gitlab-runner
---
# vars file for gitlab-runner
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment