dotfiles/playbooks/roles/common/tasks/main.yml

87 lines
1.5 KiB
YAML

---
- import_role:
name: anyenv
when:
- dev_machine == true
- import_role:
name: neovim
- import_role:
name: emacs
- import_role:
name: rust
vars:
- rust_extras: "{{ _rust_extras }}"
when:
- dev_machine == true
- import_role:
name: tmux
when:
- dev_machine == true
- import_role:
name: alacritty
when:
- dev_machine == true
- import_role:
name: hyper
when:
- dev_machine == true
- import_role:
name: kerl
when:
- dev_machine == true
- import_role:
name: git
when:
- dev_machine == true
- import_role:
name: zsh
- import_role:
name: sdkman
when:
- dev_machine == true
- name: Create ~/bin directory
file:
path: ~/bin
state: directory
- name: Create git-sync binary
file:
src: ~/.dotfiles/git-sync
dest: ~/bin/git-sync
state: link
- name: Lay down .ideavimrc
file:
src: ~/.dotfiles/ideavim/ideavimrc
dest: ~/.ideavimrc
state: link
- name: Make sure kitty folder exists
file:
state: directory
path: ~/.config/kitty
- name: Lay down kitty.conf
file:
src: ~/.dotfiles/kitty/kitty.conf
dest: ~/.config/kitty/kitty.conf
state: link
- name: Lay down topgrade.toml
file:
src: ~/.dotfiles/topgrade/topgrade.toml
dest: ~/.config/topgrade.toml
state: link
- name: Make sure ~/.config/lsd exists
file:
path: ~/.config/lsd
state: directory
- name: Lay down lsd/config.yaml
file:
src: ~/.dotfiles/lsd/config.yaml
dest: ~/.config/lsd/config.yaml
state: link