[ansible] add task for updating the dotfiles remote
change
commit 798b4589ec5ed19bccc24d8adabe069eca01fa0d
author Alpha Chen <alpha@kejadlen.dev>
date
parent 20d3ed2e
diff --git a/ansible/main.yml b/ansible/main.yml
index bca4c524..5f0f564b 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