{"id":19565481,"url":"https://github.com/mitchellcash/ansible-anu","last_synced_at":"2025-08-11T17:32:46.708Z","repository":{"id":78772913,"uuid":"131980837","full_name":"MitchellCash/ansible-anu","owner":"MitchellCash","description":"ANU is an automated and simple way to securely provision a A New Ubuntu machine using Ansible.","archived":false,"fork":false,"pushed_at":"2023-04-12T16:41:41.000Z","size":72,"stargazers_count":20,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-03T22:44:30.747Z","etag":null,"topics":["ansible","playbook","ubuntu"],"latest_commit_sha":null,"homepage":null,"language":null,"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/MitchellCash.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}},"created_at":"2018-05-03T10:41:03.000Z","updated_at":"2025-06-11T06:09:57.000Z","dependencies_parsed_at":"2023-07-20T23:30:38.517Z","dependency_job_id":null,"html_url":"https://github.com/MitchellCash/ansible-anu","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MitchellCash/ansible-anu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellCash%2Fansible-anu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellCash%2Fansible-anu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellCash%2Fansible-anu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellCash%2Fansible-anu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MitchellCash","download_url":"https://codeload.github.com/MitchellCash/ansible-anu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MitchellCash%2Fansible-anu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269928191,"owners_count":24498385,"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-08-11T02:00:10.019Z","response_time":75,"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":["ansible","playbook","ubuntu"],"created_at":"2024-11-11T05:27:06.628Z","updated_at":"2025-08-11T17:32:46.691Z","avatar_url":"https://github.com/MitchellCash.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# ANU\n\n[![CI](https://github.com/MitchellCash/ansible-anu/actions/workflows/ci.yml/badge.svg)](https://github.com/MitchellCash/ansible-anu/actions/workflows/ci.yml)\n\n## What is ANU\n\nANU (pronounced 'anew' as in A New Ubuntu) is an Ansible playbook to assist in provisioning a new\nUbuntu machine. It depends on certain third-party Ansible roles and then extends them to offer\na more opinionated new Ubuntu setup (see [Features](#features)).\n\nThe goal of ANU is to provide a secure base Ubuntu system, while maintaining a high level of ease\nof use. This means certain additional security features provided by the\n[Dependencies](#dependencies) are reverted back to the system defaults to make the system easier to\nuse. See [vars/main.yml](vars/main.yml)) for the list of overrides.\n\n## Features\n\n* Set server timezone to UTC\n* Configure UFW to allow traffic on the specified SSH port and enable UFW (default: `4160`)\n* Prompts for a username, password \u0026 SSH public key and creates a new user in the \"sudo\" group\n\n### Dependencies\n\n* Provides OS hardening via [dev-sec.os-hardening](https://github.com/dev-sec/ansible-collection-hardening/tree/master/roles/os_hardening)\n* Provides SSH hardening via [dev-sec.ssh-hardening](https://github.com/dev-sec/ansible-collection-hardening/tree/master/roles/ssh_hardening)\n\nThe goal of ANU is to provide a strong base security level while maintaining an acceptable ease of\nuse. Any acceptable trade-offs made between ease of use  and the secure defaults set by the\ndependencies and are outlined below:\n\n| Description                        | Original Value | Override Value  |\n| ---------------------------------- | -------------- | --------------- |\n| Maximum password age               | 60             | 99999 (disable) |\n| Default permissions for new files  | 027            | 022             |\n\n## Requirements\n\nANU is tested on the following Ubuntu LTS releases:\n\n- Ubuntu 20.04 (Focal Fossa)\n- Ubuntu 22.04 (Jammy Jellyfish)\n\n```sh\nsudo apt update\nsudo apt install software-properties-common\nsudo add-apt-repository ppa:ansible/ansible\nsudo apt install ansible-core\n```\n\n## Quick Start\n\nOnce the requirements are installed, all you need to do is run the following commands to provision\nyour new Ubuntu system:\n\n```sh\n# Install collection requirements.\nansible-galaxy collection install -r requirements.yml\n\n# Run the ANU playbook.\nansible-playbook anu.yml\n```\n\n## License\n\nANU is released under the terms of the MIT license. See [LICENSE](LICENSE) for more information or\nsee [https://opensource.org/licenses/MIT](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellcash%2Fansible-anu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmitchellcash%2Fansible-anu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmitchellcash%2Fansible-anu/lists"}