Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/frezbo/ansible-workstation
Manage workstation configuration
https://github.com/frezbo/ansible-workstation
Last synced: 1 day ago
JSON representation
Manage workstation configuration
- Host: GitHub
- URL: https://github.com/frezbo/ansible-workstation
- Owner: frezbo
- License: mit
- Created: 2020-12-29T14:00:36.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-06-24T13:27:08.000Z (7 months ago)
- Last Synced: 2025-01-22T01:33:36.406Z (2 days ago)
- Language: Jinja
- Homepage:
- Size: 135 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ansible-workstation
Ansible code to manage personal workstation
## Running on a new machine
Open terminal and run:
```bash
sudo apt update -y
sudo apt install -y ansible
```Clone the repo locally:
```bash
git clone https://github.com/frezbo/ansible-workstation.git
git submodule update --init --recursive
``````bash
cd ansible-workstation
ansible-playbook -K deepwater.yml
```After ansible finishes running plug-in the YubiKey and run:
```bash
gpg --card-status
```and then run:
```bash
gpg --card-edit
```In the gpg prompt run:
```bash
fetch
```Once the key is imported, exit the gpg terminal and then set the following environment variables:
```bash
export PATH="/home/frezbo/.local/share/aquaproj-aqua/bin:${PATH}"
export AQUA_GLOBAL_CONFIG="/home/frezbo/.config/aquaproj-aqua/aqua.yaml"
export AQUA_EXPERIMENTAL_X_SYS_EXEC="true"
export AQUA_LOG_COLOR="always"
export AQUA_PROGRESS_BAR="true"
```then run:
```bash
chezmoi diff
chezmoi apply
```Log out and log-in.
> NB: Long term move over to Nix for proper state. Ref: [homelab](https://github.com/danderson/homelab)