Skip to content

Latest commit

 

History

History
82 lines (53 loc) · 1.22 KB

File metadata and controls

82 lines (53 loc) · 1.22 KB

Ansible Role: ssh_audited

An Ansible role that configures OpenSSH based on the latest ssh-audit recommendations.

Table of Contents

Role Variables

This role only sets variables for the idiv_biodiversity.ssh.ssh role.

Note: The hardened defaults that this role sets may be different based on the targeted platform/OS/distro due to what its version of OpenSSH supports.

Dependencies

---

# requirements.yml

collections:

  - name: idiv_biodiversity.ssh
    version: X.Y.Z

...

Example Playbook

Top-Level Playbook

Write a top-level playbook:

---

- name: servers
  hosts: servers

  roles:

    - role: idiv_biodiversity.ssh.ssh_audited
      tags:
        - ssh

...

Role Dependency

Define the role dependency in meta/main.yml:

---

dependencies:

  - role: idiv_biodiversity.ssh.ssh_audited
    tags:
      - ssh

...