Skip to content

Commit 4294e85

Browse files
author
mafyuh
committedAug 14, 2024
Update ansible/playbooks/git-pull-reset.yml
1 parent 590620a commit 4294e85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎ansible/playbooks/git-pull-reset.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
- name: Reset and Pull Git Repository
33
hosts: all
44
tasks:
5-
- name: Change to Auto-Homelab directory
6-
shell: cd ~/Auto-Homelab
5+
- name: Change to iac directory
6+
shell: cd ~/iac
77
args:
88
chdir: "/home/{{ ansible_user }}"
99
environment:
@@ -12,13 +12,13 @@
1212
- name: Git Pull
1313
shell: git pull
1414
args:
15-
chdir: "/home/{{ ansible_user }}/Auto-Homelab"
15+
chdir: "/home/{{ ansible_user }}/iac"
1616
environment:
1717
HOME: "/home/{{ ansible_user }}"
1818

1919
- name: Git Reset
2020
shell: git reset --hard origin/main
2121
args:
22-
chdir: "/home/{{ ansible_user }}/Auto-Homelab"
22+
chdir: "/home/{{ ansible_user }}/iac"
2323
environment:
2424
HOME: "/home/{{ ansible_user }}"

0 commit comments

Comments
 (0)
Please sign in to comment.