{"id":13599591,"url":"https://github.com/infothrill/ansible-role-lynis","last_synced_at":"2026-02-11T01:46:58.473Z","repository":{"id":32115326,"uuid":"131622185","full_name":"infothrill/ansible-role-lynis","owner":"infothrill","description":"An Ansible role to install Lynis, an open source security auditing tool.","archived":false,"fork":false,"pushed_at":"2025-12-02T18:39:20.000Z","size":134,"stargazers_count":7,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"develop","last_synced_at":"2025-12-05T18:20:01.718Z","etag":null,"topics":["ansible","ansible-role","audit","lynis","security"],"latest_commit_sha":null,"homepage":"https://galaxy.ansible.com/infothrill/lynis","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/infothrill.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2018-04-30T16:55:16.000Z","updated_at":"2025-11-21T05:34:18.000Z","dependencies_parsed_at":"2023-11-07T16:41:30.942Z","dependency_job_id":"9afeb418-52a9-44b4-8571-99aa72f1c12c","html_url":"https://github.com/infothrill/ansible-role-lynis","commit_stats":null,"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/infothrill/ansible-role-lynis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infothrill%2Fansible-role-lynis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infothrill%2Fansible-role-lynis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infothrill%2Fansible-role-lynis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infothrill%2Fansible-role-lynis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/infothrill","download_url":"https://codeload.github.com/infothrill/ansible-role-lynis/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/infothrill%2Fansible-role-lynis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29325050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T00:34:26.354Z","status":"ssl_error","status_checked_at":"2026-02-11T00:34:09.494Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ansible","ansible-role","audit","lynis","security"],"created_at":"2024-08-01T17:01:07.441Z","updated_at":"2026-02-11T01:46:58.466Z","avatar_url":"https://github.com/infothrill.png","language":"Shell","funding_links":[],"categories":["Shell"],"sub_categories":[],"readme":"# Ansible Role: Lynis\n\n![Build status](https://github.com/infothrill/ansible-role-lynis/actions/workflows/tests.yml/badge.svg)\n[![Ansible Role](https://img.shields.io/ansible/role/d/infothrill/lynis)](https://galaxy.ansible.com/infothrill/lynis/)\n\nAn [Ansible](http://www.ansible.com) role to install [Lynis](https://cisofy.com/lynis/),\nan open source security auditing tool.\n\n## Quick howto\n\nrequirements.yml:\n\n    - src: infothrill.lynis\n      version: v4.2.0\n\nInstall:\n\n    ansible-galaxy install -r requirements.yml -p ./roles/\n\nPlaybook:\n\n    - hosts: servers\n        roles:\n          - role: infothrill.lynis\n\n## Role Variables\n\n    ```yml\n    lynis_version: 3.0.8\n    lynis_version_sha256sum: 98373a4cc9d0471ab9bebb249e442fcf94b6bf6d4e9c6fc0b22bca1506646c63\n    ```\nThe version and corresponding `sha256sum` of Lynis to install. Latest version\nand hash can be found on the [Lynis download page](https://cisofy.com/downloads/lynis/).\n\n    ```yml\n    lynis_directory: /opt/lynis\n    ```\nThe directory to hold the Lynis installation.\n\n    ```yml\n    lynis_log_directory: /var/log/lynis\n    ```\nThe directory for the Lynis logs. Used by the cron job. By default, Lynis will\noutput the report to `stdout` and log to `/var/log/lynis.log` and\n`/var/log/lynis-report.dat`.\n\n    ```yml\n    lynis_log_group: adm\n    ```\nThe unix group that should own the generated logs.\n\n    ```yml\n    lynis_config_directory: /etc/lynis\n    ```\nThe directory to store cron related scripts and configuration.\n\n    ```yml\n    lynis_cron: yes\n    lynis_cron_month: \"*\"\n    lynis_cron_day: \"*\"\n    lynis_cron_weekday: \"*\"\n    lynis_cron_hour: 3\n    lynis_cron_minute: 30\n    ```\nLynis cron job configuration. The report, report log, and report data are\nall written to the `lynis_log_directory`.\n\n    ```yml\n    lynis_cron_rotate: 14\n    ```\nHow many logs to keep in rotation (only meaningful when `lynis_cron` is true).\n\n    ```yml\n    lynis_cron_initial_run: false\n    ```\nSet this to true to trigger an initial cron job run after initial\ninstallation or version change of lynis.\n\n## Dependencies\n\nNone.\n\n## License\n\nMIT\n\n## Author Information\n\nThis role was forked from https://github.com/tommarshall/ansible-role-lynis\nin 2018 by Paul Kremer.\n\n## Changes\n\n### vxx\n\n* add ansible 7, python 3.11\n* drop ansible 5, python 3.8\n\n### v4.2.0\n\n* updated lynis default version to 3.0.8\n* dropped testing support for Debian Jessie, added Ubuntu 22.04\n* dropped support for python older than 3.8\n* dropped support for ansible older than 5\n* Applied modern linting\n* Switch to Github Actions for CI\n\n### v4.1.1\n\n* updated lynis default version to 3.0.3\n* drop python 3.6 test support\n* add python 3.7, 3.8, 3.9 test support\n* drop ansible 2.8 testing support\n* add ansible 3.0 testing support\n\n### v4.1.0\n\n* fix for issue [#55](https://github.com/infothrill/ansible-role-lynis/issues/55)\n* updated lynis default version to 3.0.1\n\n### v4.0.0\n\n* Drop support for ansible \u003c=2.7\n* Add support for ansible 2.10\n* Upgrade molecule to 3.x\n\n### v3.0.2\n\n* updated lynis default version to 3.0.0\n\n### v3.0.1\n\n* add support for ubuntu 20.04 (focal)\n* updated lynis default version to 2.7.5\n\n### v3.0.0\n\n* add support for ansible 2.8\n* add support for ansible 2.9\n* drop support for ansible 2.4\n* drop support for python2\n* drop support for Ubuntu 14.04\n* upgraded ansible-lint\n\n### v2.1.1\n\n* use ansible tempfile module\n* use `ionice` in cronjob\n\n### v2.1.0\n\n* only run log rotation when actually configured (`lynis_cron_rotate` \u003e 1)\n\n### v2.0.0\n\n* added feature to run lynis on initial install or version change (`lynis_cron_initial_run`)\n* renamed variable `lynis_rotate` to `lynis_cron_rotate`\n* removed molecule playbooks that are just upstream copies\n\n### v1.2.0\n\n* expanded cron configuration options\n* updated lynis default version to 2.6.8\n\n### v1.1\n\n* drop support for EOL ansible version 2.2 and 2.3\n* upgrade molecule\n\n### v1.0\n\n* initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfothrill%2Fansible-role-lynis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Finfothrill%2Fansible-role-lynis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Finfothrill%2Fansible-role-lynis/lists"}