]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Avoid symlink recursion issue wip-agent-sl 1521/head
authorZack Cerza <zack@redhat.com>
Tue, 10 Mar 2020 21:33:11 +0000 (15:33 -0600)
committerZack Cerza <zack@redhat.com>
Tue, 10 Mar 2020 21:33:11 +0000 (15:33 -0600)
Checkouts of the ceph repo contain directories with symlinks that link
to their parent dirs; this causes the file permissions check to fail.
Avoid following symlinks to work around.

Signed-off-by: Zack Cerza <zack@redhat.com>
ansible/examples/slave_static.yml

index 36d286a9bc4612ecdd97aa0e0780f3987884e342..bb9c096db8cf127ebfc7ff160796302076ed9e02 100644 (file)
@@ -80,7 +80,7 @@
       file: path=/home/{{ jenkins_user }}/build state=directory owner={{ jenkins_user }}
 
     - name: ensure the home dir has the right owner permissions
-      file: path=/home/{{ jenkins_user }} state=directory owner={{ jenkins_user }} group={{ jenkins_user }} recurse=yes
+      file: path=/home/{{ jenkins_user }} state=directory owner={{ jenkins_user }} group={{ jenkins_user }} recurse=yes follow=no
 
     # smithi nodes do not have epel repos
     - name: install an yum epel repo