diff options
| author | Adam Williamson <awilliam@redhat.com> | 2017-08-21 20:48:29 -0700 |
|---|---|---|
| committer | Adam Williamson <awilliam@redhat.com> | 2017-08-21 20:48:29 -0700 |
| commit | 7404c551e35ac41ec8201c083c115d884b6b5798 (patch) | |
| tree | 2a20c43e62a132db3cc14bd8e8ea59705d467b7f /roles/openqa | |
| parent | 043e504b6126551c8fe2dc6ba631098780c9dcc4 (diff) | |
| download | ansible-7404c551e35ac41ec8201c083c115d884b6b5798.tar.gz ansible-7404c551e35ac41ec8201c083c115d884b6b5798.tar.xz ansible-7404c551e35ac41ec8201c083c115d884b6b5798.zip | |
openqa/worker: correct WORKER_CLASS for ppc64 tap workers
Diffstat (limited to 'roles/openqa')
| -rw-r--r-- | roles/openqa/worker/templates/workers.ini.j2 | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/roles/openqa/worker/templates/workers.ini.j2 b/roles/openqa/worker/templates/workers.ini.j2 index 33982da7e..a12477783 100644 --- a/roles/openqa/worker/templates/workers.ini.j2 +++ b/roles/openqa/worker/templates/workers.ini.j2 @@ -1,5 +1,9 @@ [global] HOST = http://{{ openqa_hostname|default('localhost') }} {% if openqa_tap is defined and openqa_tap %} +{% if ansible_architecture == 'ppc64' or ansible_architecture == 'ppc64le' %} +WORKER_CLASS = tap,qemu_ppc64le,qemu_ppc64 +{% else %} WORKER_CLASS = tap,qemu_x86_64,qemu_i686,qemu_i586 {% endif %} +{% endif %} |
