summaryrefslogtreecommitdiffstats
path: root/roles/openqa/server/tasks
diff options
context:
space:
mode:
authorAdam Williamson <awilliam@redhat.com>2017-02-14 16:57:23 -0800
committerAdam Williamson <awilliam@redhat.com>2017-02-14 16:57:23 -0800
commitcc95c6482b74fbdbe9469b359ce642df67c10c8c (patch)
treea7c35c6f089185df80758438aca52c3f767cfb26 /roles/openqa/server/tasks
parent1516393f045dd10dbfe67252449fc5977709f662 (diff)
downloadansible-cc95c6482b74fbdbe9469b359ce642df67c10c8c.tar.gz
ansible-cc95c6482b74fbdbe9469b359ce642df67c10c8c.tar.xz
ansible-cc95c6482b74fbdbe9469b359ce642df67c10c8c.zip
openqa: update roles for openqa_fedora_tools repo split
We split fedora_openqa and createhdds out into their own repos, this should adapt to the change (I hope).
Diffstat (limited to 'roles/openqa/server/tasks')
-rw-r--r--roles/openqa/server/tasks/main.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/roles/openqa/server/tasks/main.yml b/roles/openqa/server/tasks/main.yml
index 957290b6b..27dbe1a39 100644
--- a/roles/openqa/server/tasks/main.yml
+++ b/roles/openqa/server/tasks/main.yml
@@ -120,11 +120,13 @@
become_user: geekotest
when: "(testsbranch.stdout.find('Not a git repository') != -1) or (testsbranch.stdout.find('On branch master') != -1)"
-- name: Check out openqa_fedora_tools
+- name: Remove old openqa_fedora_tools checkout
+ file: path=/root/openqa_fedora_tools state=absent
+
+- name: Check out createhdds
git:
- repo: https://bitbucket.org/rajcze/openqa_fedora_tools
- dest: /root/openqa_fedora_tools
- register: git_result
+ repo: https://pagure.io/fedora-qa/createhdds.git
+ dest: /root/createhdds
- name: Create asset directories
file: path={{ item }} state=directory owner=geekotest group=root mode=0755
@@ -139,7 +141,7 @@
copy: src=createhdds dest=/etc/cron.daily/createhdds owner=root group=root mode=0755
- name: Check if any hard disk images need (re)building
- command: "/root/openqa_fedora_tools/tools/createhdds.py check"
+ command: "/root/createhdds/createhdds.py check"
args:
chdir: /var/lib/openqa/share/factory/hdd/fixed
register: diskcheck