diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..bafaab3 --- /dev/null +++ b/.drone.yml @@ -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" diff --git a/README.md b/README.md index 225dd44..593bdb3 100644 --- a/README.md +++ b/README.md @@ -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 ========= diff --git a/meta/main.yml b/meta/main.yml index 7223799..a7b231f 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,7 +1,7 @@ galaxy_info: - author: your name - description: your description - company: your company (optional) + author: Adrien Reslinger + description: Make a local repository + company: Personnal # If the issue tracker for your role is not on github, uncomment the # next line and provide a value @@ -16,7 +16,7 @@ galaxy_info: # - CC-BY 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. # 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: + platforms: # - name: Fedora # versions: # - all @@ -43,6 +43,14 @@ galaxy_info: # - 1.0 # - 7 # - 99.99 + - name: CentOS + version: + - 7 + - 8 + - name: RedHat + version: + - 7 + - 8 galaxy_tags: [] # List tags for your role here, one per line. A tag is a keyword that describes