Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@gmail.com>
---
+teuthology_scheduler_user: teuthology
+teuthology_execution_user: teuthworker
+
teuthology_users:
# for scheduling tests
- - teuthology
+ - "{{ teuthology_scheduler_user }}"
# for executing tests
- - teuthworker
+ - "{{ teuthology_execution_user }}"
teuthology_repo: https://github.com/ceph/teuthology.git
teuthology_yaml_extra: ""
+archive_base: "/home/{{ teuthology_execution_user }}/archive"
+
remote_crontab_url: "https://raw.githubusercontent.com/ceph/ceph/master/qa/crontab/teuthology-cronjobs"
become_user: "{{ item }}"
with_items: "{{ teuthology_users }}"
changed_when: false
+
+- name: Ensure archive directory exists
+ shell: "mkdir -p {{ archive_base }}/worker_logs"
+ become_user: "{{ teuthology_execution_user }}"
+ tags:
+ - logs