Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/gibbs/ansible-workstation

Personal workstation provisioning via Ansible
https://github.com/gibbs/ansible-workstation

ansible

Last synced: about 1 month ago
JSON representation

Personal workstation provisioning via Ansible

Awesome Lists containing this project

README

        

# Ansible Workstation

![Ansible Lint](https://github.com/gibbs/ansible-workstation/actions/workflows/test.yml/badge.svg)

Ansible provisioning and management of my very boring, but highly functional,
i3 and GNOME setup.

![Desktop](screenshot-2022-08-08_15-44-15.png?raw=true)

## Prerequisites

Install [Arch Linux](https://archlinux.org/) or
[Ubuntu Jammy LTS](https://ubuntu.com/download/server) with networking
configured.

## Quick Start

```bash
git clone https://github.com/gibbs/ansible-workstation.git && cd ansible-workstation
./scripts/install.sh
./scripts/playbook.sh
```

## Manual

Install Ansible:

```bash
# In Ubuntu provide a python path
apt install python-is-python3

# Install pip and ansible
curl -O https://bootstrap.pypa.io/get-pip.py
python get-pip.py
echo 'export PATH=$PATH:~/.local/bin' >> ~/.bashrc
source ~/.bashrc
pip install ansible
```

Clone this repository, download the collection dependencies
and run:

```bash
cd ~/
git clone https://github.com/gibbs/ansible-workstation.git && cd ansible-workstation
ansible-galaxy install -r requirements.yml
```

Run Ansible playbook:

```bash
ansible-playbook -c local -i 127.0.0.1, -l 127.0.0.1 playbooks/all.yml --ask-become-pass
```