Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vincentvancode101/ansible
Setup my Pc
https://github.com/vincentvancode101/ansible
Last synced: 8 days ago
JSON representation
Setup my Pc
- Host: GitHub
- URL: https://github.com/vincentvancode101/ansible
- Owner: VincentVanCode101
- Created: 2024-08-20T16:42:13.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-25T21:06:12.000Z (4 months ago)
- Last Synced: 2024-08-25T22:39:38.154Z (4 months ago)
- Language: Shell
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ansible
# On a completely new machine:
## 1. Install Essential Tools
```bash
sudo apt install curl
```## 2. Clone the Repository
```bash
mkdir personal
cd personal
curl https://raw.githubusercontent.com/VincentVanCode101/ansible/main/resources/setup | sh
```## 3. Get the system to execute sudo without password input (in order for the other playbooks to work properly)
```bash
ansible-playbook playbooks/system/passwordless_sudo.yml --ask-become-pass
```### 4. System Configuration
```bash
ansible-playbook playbooks/system/i3.yml # Log out and in again to choose the i3 window-manager option
ansible-playbook playbooks/system/ufw.yml
```### 4. Application Setup
```bash
ansible-playbook playbooks/applications/core_apt.yml
ansible-playbook playbooks/applications/core_snap.yml
ansible-playbook playbooks/applications/ctop.yml
ansible-playbook playbooks/applications/docker.yml
ansible-playbook playbooks/applications/fzf.yml # On a new system for it to take affect, you have to call ~/.fzf/install
ansible-playbook playbooks/applications/install_zsh.yml # Make sure to log-out and in again for this to take affect
ansible-playbook playbooks/applications/neovim.yml
ansible-playbook playbooks/applications/obsidian.yml```
### 5. GUI Applications (Yeah, some GUIs are installed in core_apt & core_snap)
```bash
ansible-playbook playbooks/gui/brave_browser.yml
ansible-playbook playbooks/gui/spotify.yml
ansible-playbook playbooks/gui/keepassxc.yml
ansible-playbook playbooks/gui/okular.yml
ansible-playbook playbooks/gui/vscode.yml
ansible-playbook playbooks/gui/google_chrome.yml
```### 6. Language Environments
```bash
ansible-playbook playbooks/languages/go_lang.yml
ansible-playbook playbooks/languages/node_js.yml
```### 7. Chris' Configuration
```bash
ansible-playbook playbooks/chris_config/setup_ssh_keys.yml --ask-vault-passeval $(ssh-agent)
for key in $(find ./resources/.ssh -name "id_*" ! -name "*.pub" -type f -exec basename {} \;); do
export SSH_KEY="$key"
ssh-add "$HOME/.ssh/$key"
doneansible-playbook playbooks/chris_config/clone_dotfiles.yml
ansible-playbook playbooks/chris_config/de_chris.yml # Use with 'setxkbmap de-chris' (I guess you have to log-out and in again for this to take affect to activate the keyboard setting)
```# Ponderings
- should I instal node? npm? nvm? java? cpp-comiler? clang?