mirror of
https://github.com/roles-ansible/ansible_role_sshd.git
synced 2024-08-16 11:59:49 +02:00
update action checks
This commit is contained in:
parent
4700d0c3c1
commit
0ca850cf86
19 changed files with 13 additions and 313 deletions
18
.github/workflows/ansible-alpine-latest.yml
vendored
18
.github/workflows/ansible-alpine-latest.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check alpine:latest
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with alpine:latest
|
|
||||||
uses: roles-ansible/check-ansible-alpine-latest-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-archlinux-latest.yml
vendored
18
.github/workflows/ansible-archlinux-latest.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check archlinux:latest
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with archlinux:latest
|
|
||||||
uses: roles-ansible/check-ansible-archlinux-latest-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-centos-centos7.yml
vendored
18
.github/workflows/ansible-centos-centos7.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check centos:centos7
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
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: "./"
|
|
18
.github/workflows/ansible-centos-centos8.yml
vendored
18
.github/workflows/ansible-centos-centos8.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check centos:centos8
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
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: "./"
|
|
18
.github/workflows/ansible-centos-latest.yml
vendored
18
.github/workflows/ansible-centos-latest.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check centos:latest
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
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: "./"
|
|
18
.github/workflows/ansible-debian-buster.yml
vendored
18
.github/workflows/ansible-debian-buster.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check debian:buster
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with debian:buster
|
|
||||||
uses: roles-ansible/check-ansible-debian-buster-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-debian-latest.yml
vendored
18
.github/workflows/ansible-debian-latest.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check debian:latest
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with debian:latest
|
|
||||||
uses: roles-ansible/check-ansible-debian-latest-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-debian-sid.yml
vendored
18
.github/workflows/ansible-debian-sid.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check debian:sid
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with debian:sid
|
|
||||||
uses: roles-ansible/check-ansible-debian-sid-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
24
.github/workflows/ansible-debian-stable.yml
vendored
24
.github/workflows/ansible-debian-stable.yml
vendored
|
@ -1,24 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check debian:stable
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: '*'
|
|
||||||
pull_request:
|
|
||||||
branches: '*'
|
|
||||||
schedule:
|
|
||||||
- cron: '23 6 * */1 *'
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with debian:stable
|
|
||||||
uses: roles-ansible/check-ansible-debian-stable-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-debian-stretch.yml
vendored
18
.github/workflows/ansible-debian-stretch.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check debian:stretch
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with debian:stretch
|
|
||||||
uses: roles-ansible/check-ansible-debian-stretch-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-fedora-31.yml
vendored
18
.github/workflows/ansible-fedora-31.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check fedora:31
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with fedora:31
|
|
||||||
uses: roles-ansible/check-ansible-fedora-31-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-fedora-32.yml
vendored
18
.github/workflows/ansible-fedora-32.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check fedora:32
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with fedora:32
|
|
||||||
uses: roles-ansible/check-ansible-fedora-32-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-fedora-33.yml
vendored
18
.github/workflows/ansible-fedora-33.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check fedora:33
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with fedora:33
|
|
||||||
uses: roles-ansible/check-ansible-fedora-33-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-fedora-latest.yml
vendored
18
.github/workflows/ansible-fedora-latest.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check fedora:latest
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with fedora:latest
|
|
||||||
uses: roles-ansible/check-ansible-fedora-latest-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-ubuntu-bionic.yml
vendored
18
.github/workflows/ansible-ubuntu-bionic.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check ubuntu:bionic
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with ubuntu:bionic
|
|
||||||
uses: roles-ansible/check-ansible-ubuntu-bionic-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-ubuntu-latest.yml
vendored
18
.github/workflows/ansible-ubuntu-latest.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check ubuntu:latest
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
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-ubuntu-latest-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
18
.github/workflows/ansible-ubuntu-trusty.yml
vendored
18
.github/workflows/ansible-ubuntu-trusty.yml
vendored
|
@ -1,18 +0,0 @@
|
||||||
---
|
|
||||||
name: Ansible check ubuntu:trusty
|
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
|
||||||
on: [push, pull_request]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v2
|
|
||||||
|
|
||||||
- name: ansible check with ubuntu:trusty
|
|
||||||
uses: roles-ansible/check-ansible-ubuntu-trusty-action@master
|
|
||||||
with:
|
|
||||||
targets: "./"
|
|
12
README.md
12
README.md
|
@ -70,3 +70,15 @@ The main task of this role is to configure the ``sshd.conf`` file.
|
||||||
----------
|
----------
|
||||||
|
|
||||||
* [Secure Secure Shell](https://stribika.github.io/2015/01/04/secure-secure-shell.html)
|
* [Secure Secure Shell](https://stribika.github.io/2015/01/04/secure-secure-shell.html)
|
||||||
|
|
||||||
|
Testing
|
||||||
|
--------
|
||||||
|
This role is tested with some linting tests. Sadly I don't know how to run this role in a docker container because systemd is involved... If you have ideas how to improve testing please dend me a message, open a issue or Pull Request.
|
||||||
|
If you want to find out more about our tests, please have a look at the github marketplace.
|
||||||
|
|
||||||
|
| test status | Github Marketplace |
|
||||||
|
| :--------- | :---------------- |
|
||||||
|
| [![Galaxy release](https://github.com/roles-ansible/ansible_role_sshd/actions/workflows/galaxy.yml/badge.svg)](https://github.com/roles-ansible/ansible_role_sshd/actions/workflows/galaxy.yml) | [publish-ansible-role-to-galaxy](https://github.com/marketplace/actions/publish-ansible-role-to-galaxy) |
|
||||||
|
| [![Yamllint GitHub Actions](https://github.com/roles-ansible/ansible_role_sshd/actions/workflows/yamllint.yaml/badge.svg)](https://github.com/roles-ansible/ansible_role_sshd/actions/workflows/yamllint.yaml) | [yamllint-github-action](https://github.com/marketplace/actions/yamllint-github-action) |
|
||||||
|
| [![Ansible Lint check](https://github.com/roles-ansible/ansible_role_sshd/actions/workflows/ansible-linting-check.yml/badge.svg)](https://github.com/roles-ansible/ansible_role_sshd/actions/workflows/ansible-linting-check.yml) | [ansible-lint action](https://github.com/marketplace/actions/ansible-lint)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
---
|
---
|
||||||
playbook_version_number: 4124 # should be int
|
playbook_version_number: 4125 # should be int
|
||||||
playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version'
|
playbook_version_path: 'role-sshd_chaos-bodensee_github.com.version'
|
||||||
|
|
||||||
sshd__service_var_path:
|
sshd__service_var_path:
|
||||||
|
|
Loading…
Reference in a new issue