From ff77988b54e67c4cf0bcb3a95333f177ae7fdf2f Mon Sep 17 00:00:00 2001 From: Zack Cerza Date: Tue, 10 Mar 2020 15:33:11 -0600 Subject: [PATCH] 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 --- ansible/examples/slave_static.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ansible/examples/slave_static.yml b/ansible/examples/slave_static.yml index 36d286a9..bb9c096d 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 -- 2.39.5