Add drone file
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Adrien Reslinger 2020-06-01 00:24:50 +02:00
parent 39504f99ff
commit e92ac357ac
3 changed files with 27 additions and 5 deletions

12
.drone.yml Normal file
View file

@ -0,0 +1,12 @@
---
kind: pipeline
type: docker
name: default
steps:
- name: lint
image: quay.io/adrilinux/ansible:latest
commands:
- ansible-lint ./
# - "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-playbook --syntax-check --list-tasks"
# - "find . -maxdepth 1 -name '*.yml' | sort | grep -v '.drone.yml' | xargs ansible-lint"

View file

@ -1,3 +1,5 @@
[![Build Status](https://drone.reslinger.net/api/badges/adrien/ansible-role-centos_mirror/status.svg)](https://drone.reslinger.net/adrien/ansible-role-centos_mirror)
Role Name Role Name
========= =========

View file

@ -1,7 +1,7 @@
galaxy_info: galaxy_info:
author: your name author: Adrien Reslinger
description: your description description: Make a local repository
company: your company (optional) company: Personnal
# If the issue tracker for your role is not on github, uncomment the # If the issue tracker for your role is not on github, uncomment the
# next line and provide a value # next line and provide a value
@ -16,7 +16,7 @@ galaxy_info:
# - CC-BY # - CC-BY
license: license (GPLv2, CC-BY, etc) license: license (GPLv2, CC-BY, etc)
min_ansible_version: 1.2 min_ansible_version: 2.9
# If this a Container Enabled role, provide the minimum Ansible Container version. # If this a Container Enabled role, provide the minimum Ansible Container version.
# min_ansible_container_version: # min_ansible_container_version:
@ -32,7 +32,7 @@ galaxy_info:
# #
# platforms is a list of platforms, and each platform has a name and a list of versions. # platforms is a list of platforms, and each platform has a name and a list of versions.
# #
# platforms: platforms:
# - name: Fedora # - name: Fedora
# versions: # versions:
# - all # - all
@ -43,6 +43,14 @@ galaxy_info:
# - 1.0 # - 1.0
# - 7 # - 7
# - 99.99 # - 99.99
- name: CentOS
version:
- 7
- 8
- name: RedHat
version:
- 7
- 8
galaxy_tags: [] galaxy_tags: []
# List tags for your role here, one per line. A tag is a keyword that describes # List tags for your role here, one per line. A tag is a keyword that describes