From 02d7a5749ad9c2c344773c0091fd9476cc7272f1 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Mon, 23 Jun 2014 15:49:07 -0700 Subject: [PATCH] Move non-stow config elsewhere --- ansible/config.yml | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/ansible/config.yml b/ansible/config.yml index dd17a37..27c14db 100644 --- a/ansible/config.yml +++ b/ansible/config.yml @@ -17,22 +17,12 @@ stow_packages: - git - tmux - ln_packages: - tmux/.tmux.conf: .tmux.conf tasks: - name: clone/update dotfiles git: repo=https://github.com/kejadlen/dotfiles.git dest=~/.dotfiles - - shell: hash stow 2> /dev/null - register: stow_exists - ignore_errors: True - name: stow files command: chdir={{ ansible_env.HOME }}/.dotfiles stow --target={{ ansible_env.HOME }} --stow {{ item }} with_items: stow_packages - when: stow_exists|success - - name: link files - command: ln -fs {{ ansible_env.HOME }}/.dotfiles/{{ item.key }} {{ ansible_env.HOME }}/{{ item.value }} - with_dict: ln_packages - when: stow_exists|failed - name: link unstowable files file: src={{ ansible_env.HOME }}/.dotfiles/{{ item.key }} dest={{ ansible_env.HOME}}/{{ item.value }} state=link with_dict: