mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
openqa/dispatcher: write file after creating directory
Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user