Skip to content

Commit 4699ae6

Browse files
committed
builder.yml: Don't follow symlinks when chowning
Signed-off-by: David Galloway <david.galloway@ibm.com>
1 parent f03c5dc commit 4699ae6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ansible/examples/builder.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -786,13 +786,15 @@
786786
when: ansible_os_family == "Suse"
787787

788788
# Do NOT try to chown the podman storage dirs. This breaks all subsequent builds.
789+
# follow: false avoids following our silly qa/ dir symlinks
789790
- name: Ensure the build dir has the right owner permissions
790791
become: true
791792
ansible.builtin.file:
792793
path: "/home/{{ jenkins_user }}/build"
793794
owner: "{{ jenkins_user }}"
794795
group: "{{ jenkins_user }}"
795796
recurse: true
797+
follow: false
796798
tags: chown
797799

798800
- name: Set system locale (systemd)

0 commit comments

Comments
 (0)