From 798b4589ec5ed19bccc24d8adabe069eca01fa0d Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Thu, 29 Aug 2019 08:05:12 -0700 Subject: [PATCH] [ansible] add task for updating the dotfiles remote --- ansible/main.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ansible/main.yml b/ansible/main.yml index bca4c52..5f0f564 100644 --- a/ansible/main.yml +++ b/ansible/main.yml @@ -24,3 +24,11 @@ - zsh # - import_playbook: playbooks/fish.yml + +- hosts: all + tasks: + + - name: update git remote for dotfiles + command: git remote set-url origin git@github.com:kejadlen/dotfiles.git + args: + chdir: ~/.dotfiles