Skip to content

Commit dee50b9

Browse files
committed
ansible: fix owner/permissions for binary_tmp link
Set the owner and permissions for the `binary_tmp.git` link itself instead of on the link target.
1 parent 6335f6c commit dee50b9

File tree

1 file changed

+2
-0
lines changed
  • ansible/roles/jenkins-workspace/tasks

1 file changed

+2
-0
lines changed

ansible/roles/jenkins-workspace/tasks/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#
77

88
- name: Run which git-shell
9+
changed_when: false
910
command: "which git-shell"
1011
register: which_git_shell
1112

@@ -63,6 +64,7 @@
6364
state: link
6465
owner: "binary_tmp"
6566
group: "binary_tmp"
67+
follow: false
6668
mode: 0755
6769

6870
- name: Initialize Git repository

0 commit comments

Comments
 (0)