openqa/dispatcher: write file after creating directory
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
24b3645f96
commit
d4f34b56f9
1 changed files with 9 additions and 9 deletions
|
@ -220,15 +220,6 @@
|
|||
notify:
|
||||
- restart openqa consumers
|
||||
|
||||
# For now, we only have enough ppc64/aarch64 workers for one instance,
|
||||
# so we have a variant WANTED file that we deploy based on a config
|
||||
# variable.
|
||||
- name: Install extra arch WANTED images config if enabled
|
||||
copy: src=images.json.extraarches dest=/etc/fedora-openqa/images.json
|
||||
when: openqa_extraarches|bool
|
||||
notify:
|
||||
- restart openqa scheduler consumer
|
||||
|
||||
# FIXME: we should probably have the fedora-messaging consumers run as
|
||||
# someone other than root and then we'd need another token file for
|
||||
# them, as we used to have for the fedmsg user. But for now they run
|
||||
|
@ -241,6 +232,15 @@
|
|||
- name: Create fedora_openqa config directory
|
||||
file: path=/etc/fedora-openqa state=directory owner=root group=root mode=0755
|
||||
|
||||
# For now, we only have enough ppc64/aarch64 workers for one instance,
|
||||
# so we have a variant WANTED file that we deploy based on a config
|
||||
# variable.
|
||||
- name: Install extra arch WANTED images config if enabled
|
||||
copy: src=images.json.extraarches dest=/etc/fedora-openqa/images.json
|
||||
when: openqa_extraarches|bool
|
||||
notify:
|
||||
- restart openqa scheduler consumer
|
||||
|
||||
- name: Write schedule.conf
|
||||
template: src=schedule.conf.j2 dest=/etc/fedora-openqa/schedule.conf owner=root group=root mode=0644
|
||||
notify:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue