{"id":15151598,"url":"https://github.com/marcocolomb0/unattended-ubuntu","last_synced_at":"2025-07-14T10:05:13.169Z","repository":{"id":252559805,"uuid":"840765340","full_name":"MarcoColomb0/unattended-ubuntu","owner":"MarcoColomb0","description":"unattended-ubuntu is an Ansible project designed to autoconfigure Ubuntu instances.","archived":false,"fork":false,"pushed_at":"2025-05-26T21:08:59.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T07:47:16.902Z","etag":null,"topics":["ansible","ubuntu","unattended"],"latest_commit_sha":null,"homepage":"","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/MarcoColomb0.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}},"created_at":"2024-08-10T16:05:56.000Z","updated_at":"2025-05-26T21:09:02.000Z","dependencies_parsed_at":"2025-05-30T07:08:51.685Z","dependency_job_id":"932bf0dd-8104-4520-b549-bd07703fff71","html_url":"https://github.com/MarcoColomb0/unattended-ubuntu","commit_stats":{"total_commits":4,"total_committers":1,"mean_commits":4.0,"dds":0.0,"last_synced_commit":"3d9901fe5cc99f729fe4bedbf140ff2bd72dd48c"},"previous_names":["marcocolomb0/unattended-ubuntu"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MarcoColomb0/unattended-ubuntu","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoColomb0%2Funattended-ubuntu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoColomb0%2Funattended-ubuntu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoColomb0%2Funattended-ubuntu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoColomb0%2Funattended-ubuntu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MarcoColomb0","download_url":"https://codeload.github.com/MarcoColomb0/unattended-ubuntu/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MarcoColomb0%2Funattended-ubuntu/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265276943,"owners_count":23739286,"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","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","ubuntu","unattended"],"created_at":"2024-09-26T15:04:27.546Z","updated_at":"2025-07-14T10:05:13.143Z","avatar_url":"https://github.com/MarcoColomb0.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# unattended-ubuntu\n\n![License](https://img.shields.io/badge/license-MIT-blue.svg)\n![Ansible](https://img.shields.io/badge/ansible-2.16.9-green.svg)\n![Python](https://img.shields.io/badge/python-3.12.3-blue.svg)\n![Ubuntu](https://img.shields.io/badge/ubuntu-24.04-orange.svg)\n\n## Overview\n`unattended-ubuntu` is an Ansible project designed to autoconfigure Ubuntu instances. Its primary goal is to prepare an Ubuntu instance for [EMS HA (Postgres HA)](https://docs.fortinet.com/document/forticlient/latest/ems-administration-guide/109604/ems-ha-with-postgres-ha-using-bitnami-docker) on Docker. The project ensures that the necessary configurations and installations are performed automatically.\n\n## Features\n- **Clean Machine IDs**: Ensures that machine IDs are cleaned on each run to avoid conflicts.\n- **Setup Time**: Configures the system time settings.\n- **Setup Hosts File**: Updates the `/etc/hosts` file with necessary entries.\n- **Install Docker**: Installs Docker to facilitate containerized applications.\n- **Extensible**: New features and configurations may be added during development.\n\n## Usage\nTo use this Ansible project, follow these steps:\n\n### 1. Clone the Repository\nClone the repository to your local machine:\n```sh\ngit clone https://github.com/MarcoColomb0/unattended-ubuntu.git\n```\nChange directory to the project folder:\n```sh\ncd unattended-ubuntu\n```\n\n### 2. Edit the ansible config file\nEdit the [`ansible.cfg`](https://github.com/MarcoColomb0/unattended-ubuntu/blob/main/ansible.cfg) file to include the necessary configurations.\n\n### 3. Edit Inventory File\nEdit the [`inventory`](https://github.com/MarcoColomb0/unattended-ubuntu/blob/main/inventory) file to include the IP addresses or hostnames of the target machines you want to configure. The `inventory` file should look something like this:\n```ini\n[targets]\npostgres-1\npostgres-2\n[targets:vars]\nansible_user=marco\nansible_ssh_private_key_file=~/.ssh/ansible\n```\n\n### 4. Customize Playbooks\nCustomize the playbooks in the `playbooks` directory to suit your specific requirements. For example, you can modify [`playbooks/setup_time.yaml`](https://github.com/MarcoColomb0/unattended-ubuntu/blob/main/playbooks/setup_time.yaml) to change the timezone or NTP server, edit [`assets/hosts`](https://github.com/MarcoColomb0/unattended-ubuntu/blob/main/assets/hosts) to add the necessary entries to the `/etc/hosts` file.\n\n### 5. Install Required Ansible Roles\n```sh\nansible-galaxy install -r requirements.yaml\n```\n\n### 6. Run the Playbook\n```sh\nansible-playbook -i inventory playbook.yaml\n```\n\n## Tested software versions\n- ansible-core 2.16.9\n- Python 3.12.3\n- Ubuntu 24.04\n\n## Contributing\nContributions are welcome! Please fork the repository and submit a pull request with your changes.\n\n## License\nThis project is licensed under the MIT License. See the [LICENSE](https://github.com/MarcoColomb0/unattended-ubuntu/blob/main/LICENSE) file for details.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcocolomb0%2Funattended-ubuntu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcocolomb0%2Funattended-ubuntu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcocolomb0%2Funattended-ubuntu/lists"}