Skip to content

Commit

Permalink
Use local roles instead of external ansible galaxy ones (#1)
Browse files Browse the repository at this point in the history
* Dotfile updates

* vars updates

* Updates npm packages

* Adds default npm package

* WIP move roles back

* Swap BufAdd with BufRead

* tm shortcuts updates

* Deletes requirements file

* Updates dotfiles layout

* Lock update

* Removes rome lsp

* ElixirLS Updates

* [WIP] Adds environments role

* Adds ansiblels lspconfig

* Updates lazy lock file

* Removes default npm package

* nvim updates

* Initial osx role refactor

* Refactors os x task

* WIP fish refactor

* Upgrade default python version

* Moves shell tasks to its own file

* Moves remaining environments

* Adds line break

* Adds 1Password CLI plugins support

* nvim updates

* Add LSPs to osx setup

* Neovim role simplifications

* Moves tmux to its own role

* Symlinks tmux conf

* Removes migrated tasks

* Symlink nodejs related dotfiles

* Removes migrated tasks

* Moves out ssh role

* Removes gpg tasks

* Move environment related deps to environments role

* Fixes git folder escape sequence

* Adds git role

* Adds services role

* Deletes extra my.cnf file

* Fish fixes

* Neovim lock file updates

* Use correct lazy install commands

* Adds iterm role

* Moves iTerm2 cask installation

* Formatting and minor fixes

* Install and update tpm plugins

* Adds arttime

* Updates art text
  • Loading branch information
inkatze authored Nov 11, 2023
1 parent a6a8f91 commit 869e216
Show file tree
Hide file tree
Showing 106 changed files with 4,082 additions and 2,419 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,6 @@
playbook/files
vars
group_vars/secrets.yml
roles/fish/files/fish/themes
roles/fish/files/fish/fish_plugins
roles/fish/files/fish/fish_variables
43 changes: 23 additions & 20 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -15,43 +15,46 @@ endif

PLAYBOOK_COMMAND := ansible-playbook -l $(CURRENT_HOST) main.yml

install: deps
$(PLAYBOOK_COMMAND) --skip-tags shell,gpg,upgrade
install: header
$(PLAYBOOK_COMMAND) --skip-tags shell,upgrade

homebrew: deps
$(PLAYBOOK_COMMAND) -t homebrew

gpg: deps
$(PLAYBOOK_COMMAND) -t gpg
osx: header
$(PLAYBOOK_COMMAND) -t osx

ssh: deps
ssh: header
$(PLAYBOOK_COMMAND) -t ssh

dotfiles: deps
dotfiles: header
$(PLAYBOOK_COMMAND) -t dotfiles

tmux: deps
tmux: header
$(PLAYBOOK_COMMAND) -t tmux

fish: deps
fish: header
$(PLAYBOOK_COMMAND) -t fish

neovim: deps
neovim: header
$(PLAYBOOK_COMMAND) -t neovim

osx: deps
$(PLAYBOOK_COMMAND) -t osx

upgrade: deps
upgrade: header
$(PLAYBOOK_COMMAND) -t upgrade

shell: deps
environments: header
$(PLAYBOOK_COMMAND) -t environments

git: header
$(PLAYBOOK_COMMAND) -t git

services: header
$(PLAYBOOK_COMMAND) -t services

iterm: header
$(PLAYBOOK_COMMAND) -t iterm

shell: header
# Requires privilege escalation because of the /etc/shells file
$(PLAYBOOK_COMMAND) -t fish,shell -K

deps: header
ansible-galaxy install -f -r requirements.yml

header:
echo "Running on host: $(CURRENT_HOST)"

Expand Down
1 change: 0 additions & 1 deletion files/dotfiles/nvmrc

This file was deleted.

Loading

0 comments on commit 869e216

Please sign in to comment.