diff options
author | Nikolaos Boutalas <nikolaos@boutalas.me> | 2023-08-07 11:33:19 +0300 |
---|---|---|
committer | Nikolaos Boutalas <nikolaos@boutalas.me> | 2023-08-07 11:46:40 +0300 |
commit | ab8638f541ceba0c7aeaa5a12be78e60b5da2684 (patch) | |
tree | 1866e2fa1373e700654e894f7c691df3ae53e495 | |
parent | 3be0015f4e35a73b1174cd74247b0708836efe62 (diff) |
Add dotfiles task
Use stow to automatically copy dotfiles in the correct directories
-rw-r--r-- | local.yml | 1 | ||||
-rw-r--r-- | tasks/dotfiles.yml | 5 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,4 @@ - hosts: localhost tasks: - include: tasks/dependencies.yml + - include: tasks/dotfiles.yml diff --git a/tasks/dotfiles.yml b/tasks/dotfiles.yml new file mode 100644 index 0000000..cf64d9e --- /dev/null +++ b/tasks/dotfiles.yml @@ -0,0 +1,5 @@ + +- name: Stow dotfiles + shell: cd dotfiles && for dir in *; do (stow $dir -t ~); done + tags: + - dotfiles |