Skip to content

Commit

Permalink
goupings imp
Browse files Browse the repository at this point in the history
  • Loading branch information
buluma committed Jan 22, 2024
1 parent c654642 commit d04a5dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
repository:
description: Install and configure openssh on your system.
homepage: https://buluma.github.io/
topics: openssh, ansible, molecule, tox, playbook
topics: openssh, system, security, ansible, molecule, tox, playbook
4 changes: 2 additions & 2 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ jobs:
tag: "latest"
- image: "enterpriselinux"
tag: "8"
- image: "enterpriselinux"
tag: "latest"
- image: "debian-systemd"
tag: "latest"
- image: "debian-systemd"
Expand All @@ -71,8 +73,6 @@ jobs:
tag: "focal"
- image: "docker-ubuntu-systemd"
tag: "bionic"
- image: "kali"
tag: "latest"
steps:
- name: Checkout Role
uses: actions/checkout@v4
Expand Down
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ This example is taken from [`molecule/default/converge.yml`](https://github.com/

roles:
- role: buluma.openssh
openssh_allow_users: root
openssh_allow_groups: root
openssh_allow_users:
- root
openssh_allow_groups:
- root
```
The machine needs to be prepared. In CI this is done using [`molecule/default/prepare.yml`](https://github.com/buluma/ansible-role-openssh/blob/master/molecule/default/prepare.yml):
Expand Down Expand Up @@ -150,10 +152,11 @@ openssh_trusted_user_ca_keys: none
# Restrict access to this (space separated list) of users or groups.
# For example: "openssh_allow_users: root my_user"
# openssh_allow_users: root
# openssh_allow_users:
# - root
# For example: "openssh_allow_groups: wheel my_group"
# openssh_allow_groups: wheel
# openssh_allow_groups:
# - wheel
```

## [Requirements](#requirements)
Expand Down Expand Up @@ -185,12 +188,11 @@ This role has been tested on these [container images](https://hub.docker.com/u/b
|---------|----|
|[Alpine](https://hub.docker.com/repository/docker/buluma/alpine/general)|all|
|[Amazon](https://hub.docker.com/repository/docker/buluma/amazonlinux/general)|Candidate|
|[EL](https://hub.docker.com/repository/docker/buluma/enterpriselinux/general)|8|
|[EL](https://hub.docker.com/repository/docker/buluma/enterpriselinux/general)|8, 9|
|[Debian](https://hub.docker.com/repository/docker/buluma/debian/general)|all|
|[Fedora](https://hub.docker.com/repository/docker/buluma/fedora/general)|all|
|[opensuse](https://hub.docker.com/repository/docker/buluma/opensuse/general)|all|
|[Ubuntu](https://hub.docker.com/repository/docker/buluma/ubuntu/general)|all|
|[Kali](https://hub.docker.com/repository/docker/buluma/kali/general)|all|

The minimum version of Ansible required is 2.12, tests have been done to:

Expand Down

0 comments on commit d04a5dd

Please sign in to comment.