From: Kyr Shatskyy Date: Thu, 14 Jan 2021 12:02:37 +0000 (+0100) Subject: teuthology: ensure scheduler user bin exists X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=129c27d50de3f620fc02176debe1b111b4b45569;p=ceph-cm-ansible.git teuthology: ensure scheduler user bin exists Before copying crontab script we need to ensure the bin directory exists for scheduler user. Signed-off-by: Kyr Shatskyy --- diff --git a/roles/teuthology/tasks/main.yml b/roles/teuthology/tasks/main.yml index 1b30777e..d55f1e81 100644 --- a/roles/teuthology/tasks/main.yml +++ b/roles/teuthology/tasks/main.yml @@ -28,6 +28,16 @@ tags: - config +- name: Ensure scheduler user binary directory exists + file: + state: directory + owner: "{{ teuthology_scheduler_user }}" + group: "{{ teuthology_scheduler_user }}" + path: "/home/{{ teuthology_scheduler_user }}/bin" + mode: 0755 + tags: + - crontab + - name: Ship teuthology user's crontab update script template: src: update-crontab.sh