{"id":15870125,"url":"https://github.com/stephrobert/ansible-role-motd","last_synced_at":"2025-09-10T02:40:28.417Z","repository":{"id":212452863,"uuid":"731529560","full_name":"stephrobert/ansible-role-motd","owner":"stephrobert","description":null,"archived":false,"fork":false,"pushed_at":"2025-04-16T07:42:57.000Z","size":16,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-16T10:12:35.345Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stephrobert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2023-12-14T09:36:12.000Z","updated_at":"2025-04-16T07:43:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"fba221c6-0632-434c-8243-562e8861831d","html_url":"https://github.com/stephrobert/ansible-role-motd","commit_stats":{"total_commits":1,"total_committers":1,"mean_commits":1.0,"dds":0.0,"last_synced_commit":"bf6e28c550bd4af43cd2f4759a15b0678f8b48e0"},"previous_names":["stephrobert/ansible-role-motd"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/stephrobert/ansible-role-motd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephrobert%2Fansible-role-motd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephrobert%2Fansible-role-motd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephrobert%2Fansible-role-motd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephrobert%2Fansible-role-motd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stephrobert","download_url":"https://codeload.github.com/stephrobert/ansible-role-motd/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stephrobert%2Fansible-role-motd/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274402379,"owners_count":25278341,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-10T02:00:12.551Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2024-10-06T00:04:22.266Z","updated_at":"2025-09-10T02:40:28.369Z","avatar_url":"https://github.com/stephrobert.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# stephrobert.motd\n\n[![Maintainer](https://img.shields.io/badge/maintained%20by-stephrobert-e00000?style=flat-square)](https://github.com/stephrobert)\n[![License](https://img.shields.io/github/license/stephrobert/ansible-role-motd?style=flat-square)](https://github.com/stephrobert/ansible-role-motd/blob/main/LICENSE)\n[![Release](https://img.shields.io/github/v/release/stephrobert/ansible-role-motd?style=flat-square)](https://github.com/stephrobert/ansible-role-motd/releases)\n[![Status](https://img.shields.io/github/workflow/status/stephrobert/ansible-role-motd/Ansible%20Molecule?style=flat-square\u0026label=tests)](https://github.com/stephrobert/ansible-role-motd/actions?query=workflow%3A%22Ansible+Molecule%22)\n[![Ansible Galaxy](https://img.shields.io/badge/ansible-galaxy-black.svg?style=flat-square\u0026logo=ansible)](https://galaxy.ansible.com/stephrobert/motd)[![Ansible version](https://img.shields.io/badge/ansible-%3E%3D2.10-black.svg?style=flat-square\u0026logo=ansible)](https://github.com/ansible/ansible)\n\n⭐ Star us on GitHub — it motivates us a lot!\n\nConfigure motd\n\n**Platforms Supported**:\n\n| Platform | Versions |\n|----------|----------|\n| Debian | bullseye |\n| Ubuntu | jammy |\n\n## ⚠️ Requirements\n\nAnsible \u003e= 2.11.\n\n### Ansible role dependencies\n\nNone.\n\n## ⚡ Installation\n\n### Install with Ansible Galaxy\n\n```shell\nansible-galaxy install stephrobert.motd\n```\n\n### Install with git\n\nIf you do not want a global installation, clone it into your `roles_path`.\n\n```bash\ngit clone git@github.com:stephrobert/ansible-role-motd.git  stephrobert.motd\n```\n\nBut I often add it as a submodule in a given `playbook_dir` repository.\n\n```bash\ngit submodule add git@github.com:stephrobert/ansible-role-motd.git roles/stephrobert.motd\n```\n\nAs the role is not managed by Ansible Galaxy, you do not have to specify the\ngithub user account.\n\n### ✏️ Example Playbook\n\nBasic usage is:\n\n```yaml\n- hosts: all\n  roles:\n    - role: stephrobert.motd\n      vars:\n        motd_banner: stephrobert\n        motd_disable_default_motd: true\n        \n```\n\n## ⚙️ Role Variables\n\nVariables are divided in three types.\n\nThe **default vars** section shows you which variables you may\noverride in your ansible inventory. As a matter of fact, all variables should\nbe defined there for explicitness, ease of documentation as well as overall\nrole manageability.\n\nThe **context variables** are shown in section below hint you\non how runtime context may affects role execution.\n\n### Default variables\nRole default variables from `defaults/main.yml`.\n\n| Variable Name | Value |\n|---------------|-------|\n| motd_disable_default_motd | True |\n| motd_banner | stephrobert |\n\n### Context variables\n\nThose variables from `vars/*.{yml,json}` are loaded dynamically during task\nruntime using the `include_vars` module.\n\nVariables loaded from `vars/main.yml`.\n\n| Variable Name | Value |\n|---------------|-------|\n| motd_sshd_config_file_path | /etc/ssh/sshd_config.d/10-disable-motd |\n| motd_pam_login_file_path | /etc/pam.d/login |\n| motd_pam_sshd_file_path | /etc/pam.d/sshd |\n| motd_file_path | /usr/local/bin/dynmotd |\n\n\n\n## Author Information\n\nnone","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephrobert%2Fansible-role-motd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstephrobert%2Fansible-role-motd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstephrobert%2Fansible-role-motd/lists"}