dotfiles/playbooks/roles/common/tasks/main.yml
Anthony Cicchetti 073a40631b lsd
2020-11-10 10:31:15 -05:00

84 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: Lay down wakatime.cfg
when:
- hakatime_api_key != ''
template:
src: wakatime.cfg.j2
dest: ~/.wakatime.cfg
- 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: Lay down lsd/config.yaml
file:
src: ~/.dotfiles/lsd/config.yaml
dest: ~/.config/lsd/config.yaml
state: link