From 4294e859df1b3178bdc922e6c1de52f857acf654 Mon Sep 17 00:00:00 2001 From: mafyuh Date: Tue, 13 Aug 2024 21:05:30 -0400 Subject: [PATCH] Update ansible/playbooks/git-pull-reset.yml --- ansible/playbooks/git-pull-reset.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ansible/playbooks/git-pull-reset.yml b/ansible/playbooks/git-pull-reset.yml index 5f6257f..23ca6b7 100644 --- a/ansible/playbooks/git-pull-reset.yml +++ b/ansible/playbooks/git-pull-reset.yml @@ -2,8 +2,8 @@ - name: Reset and Pull Git Repository hosts: all tasks: - - name: Change to Auto-Homelab directory - shell: cd ~/Auto-Homelab + - name: Change to iac directory + shell: cd ~/iac args: chdir: "/home/{{ ansible_user }}" environment: @@ -12,13 +12,13 @@ - name: Git Pull shell: git pull args: - chdir: "/home/{{ ansible_user }}/Auto-Homelab" + chdir: "/home/{{ ansible_user }}/iac" environment: HOME: "/home/{{ ansible_user }}" - name: Git Reset shell: git reset --hard origin/main args: - chdir: "/home/{{ ansible_user }}/Auto-Homelab" + chdir: "/home/{{ ansible_user }}/iac" environment: HOME: "/home/{{ ansible_user }}" \ No newline at end of file