Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jackosullivan/ubuntu2204-setup
- Owner: jackosullivan
- Created: 2024-08-20T16:20:41.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-20T16:42:44.000Z (3 months ago)
- Last Synced: 2024-10-17T09:09:10.801Z (22 days ago)
- Topics: ansible, ubuntu-2204, ubuntu-2404
- Homepage:
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:
- usernameIn 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
```