From f425ce38d7ce09789b5b69a1ca53a8397f5261c3 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 1 Mar 2020 20:26:50 +0100 Subject: [PATCH 1/3] Add github-action for centos --- .github/workflows/ansible-centos-centos6.yml | 16 ++++++++++++++++ .github/workflows/ansible-centos-centos7.yml | 16 ++++++++++++++++ .github/workflows/ansible-centos-centos8.yml | 16 ++++++++++++++++ .github/workflows/ansible-centos-latest.yml | 16 ++++++++++++++++ 4 files changed, 64 insertions(+) create mode 100644 .github/workflows/ansible-centos-centos6.yml create mode 100644 .github/workflows/ansible-centos-centos7.yml create mode 100644 .github/workflows/ansible-centos-centos8.yml create mode 100644 .github/workflows/ansible-centos-latest.yml diff --git a/.github/workflows/ansible-centos-centos6.yml b/.github/workflows/ansible-centos-centos6.yml new file mode 100644 index 0000000..6907237 --- /dev/null +++ b/.github/workflows/ansible-centos-centos6.yml @@ -0,0 +1,16 @@ +name: Ansible check centos:centos6 + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: ansible check with ubuntu:centos6 + uses: roles-ansible/check-ansible-centos-centos6-action@master + with: + targets: "./" diff --git a/.github/workflows/ansible-centos-centos7.yml b/.github/workflows/ansible-centos-centos7.yml new file mode 100644 index 0000000..90bff41 --- /dev/null +++ b/.github/workflows/ansible-centos-centos7.yml @@ -0,0 +1,16 @@ +name: Ansible check centos:centos7 + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: ansible check with ubuntu:centos7 + uses: roles-ansible/check-ansible-centos-centos7-action@master + with: + targets: "./" diff --git a/.github/workflows/ansible-centos-centos8.yml b/.github/workflows/ansible-centos-centos8.yml new file mode 100644 index 0000000..5d7acc9 --- /dev/null +++ b/.github/workflows/ansible-centos-centos8.yml @@ -0,0 +1,16 @@ +name: Ansible check centos:centos8 + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: ansible check with ubuntu:centos8 + uses: roles-ansible/check-ansible-centos-centos8-action@master + with: + targets: "./" diff --git a/.github/workflows/ansible-centos-latest.yml b/.github/workflows/ansible-centos-latest.yml new file mode 100644 index 0000000..de991de --- /dev/null +++ b/.github/workflows/ansible-centos-latest.yml @@ -0,0 +1,16 @@ +name: Ansible check centos:latest + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: ansible check with ubuntu:latest + uses: roles-ansible/check-ansible-centos-latest-action@master + with: + targets: "./" From b918eb536618d3c8afa055b410008c0e7c676181 Mon Sep 17 00:00:00 2001 From: L3D Date: Sun, 1 Mar 2020 20:36:33 +0100 Subject: [PATCH 2/3] Add LICENSE to README --- .github/galaxy.svg | 452 ++++++++++++++++++++++++++++++++++++++++++++ .github/license.svg | 217 +++++++++++++++++++++ README.md | 4 + 3 files changed, 673 insertions(+) create mode 100644 .github/galaxy.svg create mode 100644 .github/license.svg diff --git a/.github/galaxy.svg b/.github/galaxy.svg new file mode 100644 index 0000000..f6d5a65 --- /dev/null +++ b/.github/galaxy.svg @@ -0,0 +1,452 @@ + + + + + + image/svg+xml + + + + + + 3D <l3d@c3woc.de> + + + + + MIT License + + + + + + + + + + + + + + + + + + + + + + + + MIT + MIT + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/.github/license.svg b/.github/license.svg new file mode 100644 index 0000000..4ab6d9a --- /dev/null +++ b/.github/license.svg @@ -0,0 +1,217 @@ + + + + + + image/svg+xml + + + + + + 3D <l3d@c3woc.de> + + + + + MIT License + + + + + + + + + + + + + + + + + + + + + + + + + + + MIT + MIT + + + license + license + + diff --git a/README.md b/README.md index 5c876f6..da82849 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,7 @@ +[![MIT License](https://raw.githubusercontent.com/roles-ansible/role_install-epel-release/master/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/role_install-epel-release/blob/master/LICENSE) +[![Ansible Galaxy](https://raw.githubusercontent.com/roles-ansible/role_install-epel-release/master/.github/galaxy.svg?sanitize=true)](https://galaxy.ansible.com/do1jlr/epel) + + [![Build Status](https://travis-ci.org/DO1JLR/role_install-epel-release.svg?branch=master)](https://travis-ci.org/DO1JLR/role_install-epel-release) # role_install-epel-release From 0aab5d0c11baf56fa0f8fa2fc1c3836676db34eb Mon Sep 17 00:00:00 2001 From: L3D Date: Mon, 2 Mar 2020 09:11:06 +0100 Subject: [PATCH 3/3] update DOCS --- .github/workflows/ansible-linting-chek.yml | 20 ++++++++++++++++++ README.md | 24 +++++++++++++++++----- 2 files changed, 39 insertions(+), 5 deletions(-) create mode 100644 .github/workflows/ansible-linting-chek.yml diff --git a/.github/workflows/ansible-linting-chek.yml b/.github/workflows/ansible-linting-chek.yml new file mode 100644 index 0000000..712c76f --- /dev/null +++ b/.github/workflows/ansible-linting-chek.yml @@ -0,0 +1,20 @@ +name: Ansible Lint check + +on: [push, pull_request] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + + - name: Lint Ansible Playbook + uses: ansible/ansible-lint-action@master + with: + targets: "." + # [required] + # Paths to ansible files (i.e., playbooks, tasks, handlers etc..) + args: "" + # [optional] diff --git a/README.md b/README.md index da82849..c89705b 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,35 @@ [![MIT License](https://raw.githubusercontent.com/roles-ansible/role_install-epel-release/master/.github/license.svg?sanitize=true)](https://github.com/roles-ansible/role_install-epel-release/blob/master/LICENSE) [![Ansible Galaxy](https://raw.githubusercontent.com/roles-ansible/role_install-epel-release/master/.github/galaxy.svg?sanitize=true)](https://galaxy.ansible.com/do1jlr/epel) + role_install-epel-release +============================ +Ansible role to install the Extra Packages for Enterprise Linux (EPEL) - Repository on RHEL and centos. + +### Testing +This role is tested with [these github-action](https://github.com/search?q=topic%3Acentos+topic%3Acheck-ansible+topic%3Agithub-actions+org%3Aroles-ansible&type=Repositories) tests for different versions of centos. Linting is tested via travis-ci. +If you want to find out more about our tests, please have a look at the github marketplace. + +| test status | Github Marketplace | +| :---------: | :----------------: | +| [![Travis Build Status](https://travis-ci.org/DO1JLR/role_install-epel-release.svg?branch=master)](https://travis-ci.org/DO1JLR/role_install-epel-release) | [.travis.yml](https://github.com/roles-ansible/role_install-epel-release/blob/master/.travis.yml) | +[![Ansible check centos:latest](https://github.com/roles-ansible/role_install-epel-release/workflows/Ansible%20check%20centos:latest/badge.svg)](https://github.com/roles-ansible/role_install-epel-release/actions?query=workflow%3A%22Ansible+check+centos%3Alatest%22) | [ansible test with centos:latest](https://github.com/roles-ansible/role_install-epel-release/blob/master/.travis.yml) | [ansible test with centos latest](https://github.com/marketplace/actions/check-ansible-centos-latest) | +| [![Ansible check centos:centos8](https://github.com/roles-ansible/role_install-epel-release/workflows/Ansible%20check%20centos:centos8/badge.svg)](https://github.com/roles-ansible/role_install-epel-release/actions?query=workflow%3A%22Ansible+check+centos%3Acentos8%22) | [ansible test with centos 8](https://github.com/marketplace/actions/check-ansible-centos-centos8) | +| [![Ansible check centos:centos7](https://github.com/roles-ansible/role_install-epel-release/workflows/Ansible%20check%20centos:centos7/badge.svg)](https://github.com/roles-ansible/role_install-epel-release/actions?query=workflow%3A%22Ansible+check+centos%3Acentos7%22) | [ansible test with centos 7](https://github.com/marketplace/actions/check-ansible-centos-centos7) | +| [![Ansible check centos:centos6](https://github.com/roles-ansible/role_install-epel-release/workflows/Ansible%20check%20centos:centos6/badge.svg)](https://github.com/roles-ansible/role_install-epel-release/actions?query=workflow%3A%22Ansible+check+centos%3Acentos6%22) | [ansible test with centos 6](https://github.com/marketplace/actions/check-ansible-centos-centos6) | +| [![Ansible Lint check](https://github.com/roles-ansible/role_install-epel-release/workflows/Ansible%20Lint%20check/badge.svg)](https://github.com/roles-ansible/role_install-epel-release/actions?query=workflow%3A%22Ansible+Lint+check%22) | [ansible linting test](https://github.com/marketplace/actions/ansible-lint) | + -[![Build Status](https://travis-ci.org/DO1JLR/role_install-epel-release.svg?branch=master)](https://travis-ci.org/DO1JLR/role_install-epel-release) -# role_install-epel-release -Ansible role to install the Extra Packages for Enterprise Linux (EPEL) - Repository on RHEL/centos ``` WORK IN PROGRESS missing: - os detection (RHEL) -- github-actions - docs -- vars working: - epel install on centos 7 +- github-actions +- vars ```