This repository contains an Ansible playbook and a script to automate the setup of a development environment on Ubuntu 22.04. The setup includes installing essential development tools, configuring Git, and setting up SSH keys for GitHub.
- Ubuntu 22.04
- Internet connection
- Administrative privileges
-
Clone the Repository:
git clone https://github.com/your-repo/dev-setup.git cd dev-setup
-
Update and Upgrade System Packages::
sudo apt update && sudo apt upgrade -y
-
Install Ansible::
sudo apt install ansible -y
-
Make the Script Executable::
chmod +x run_ansible.sh
-
Run the Script::
./run_ansible.sh
After running the playbook, it will output your SSH public key. Copy this key and add it to your GitHub account:
- Go to GitHub.
- Navigate to Settings > SSH and GPG keys.
- Click New SSH key.
- Paste the key and save.