Skip to content
This repository has been archived by the owner on Jan 8, 2021. It is now read-only.

Commit

Permalink
Galaxy infrastructure for a decoupled OME ansible role
Browse files Browse the repository at this point in the history
  • Loading branch information
manics committed Jan 6, 2017
1 parent 8ba0874 commit 692f068
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -0,0 +1 @@
.*~
29 changes: 29 additions & 0 deletions .travis.yml
@@ -0,0 +1,29 @@
---
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/
13 changes: 13 additions & 0 deletions meta/main.yml
@@ -0,0 +1,13 @@
galaxy_info:
author: ome-devel@lists.openmicroscopy.org.uk
description: Generate self-signed SSL certificates for Nginx
company: Open Microscopy Environment
license: BSD
min_ansible_version: 2.1
platforms:
- name: EL
versions:
- 7
galaxy_tags: []

dependencies: []
1 change: 1 addition & 0 deletions tests/inventory
@@ -0,0 +1 @@
localhost
5 changes: 5 additions & 0 deletions tests/test.yml
@@ -0,0 +1,5 @@
---
- hosts: localhost
remote_user: root
roles:
- role: ansible-role-nginx-ssl-selfsigned

0 comments on commit 692f068

Please sign in to comment.