From: Zack Cerza Date: Tue, 10 Mar 2020 21:33:11 +0000 (-0600) Subject: Avoid symlink recursion issue X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ff77988b54e67c4cf0bcb3a95333f177ae7fdf2f;p=ceph-build.git Avoid symlink recursion issue 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 --- diff --git a/ansible/examples/slave_static.yml b/ansible/examples/slave_static.yml index 36d286a9b..bb9c096db 100644 --- a/ansible/examples/slave_static.yml +++ b/ansible/examples/slave_static.yml @@ -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