Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jackosullivan/ubuntu2204-setup

Configures a new install of Ubuntu 22.04 and 24.04 using Ansible.
https://github.com/jackosullivan/ubuntu2204-setup

ansible ubuntu-2204 ubuntu-2404

Last synced: 6 days ago
JSON representation

Configures a new install of Ubuntu 22.04 and 24.04 using Ansible.

Awesome Lists containing this project

README

        

# Ubuntu 2204 Setup
Configures a new install of Ubuntu 22.04 and 24.04 using Ansible.

## Prerequisites
To utilise this script, you will need the following:
- A fresh installation of either Ubuntu 22.04 or 24.04.
- A DNS record which resolves to the installation.
- An installation of Ansible on the machine you intend on executing this script.
- An SSH key which utilises ed25519.

## Variables
The following variables need to be set within the playbook.yml file:
- username

In addition to this, you can also add packages by adding to the `packages` variable.

## Inventory
In order for this script to work correctly, you will need to specify the hostname in the inventory file as this will be used to configure the server.

## Running the setup
To run the script, run the following command:
```
ansible-playbook playbook.yml -i inventory.yml -u root
```