openqa/worker: run the ppc64 script hourly

The /dev/kvm permissions just seem to keep getting reset somehow
and I'm sick of it. Let's see if this helps.
This commit is contained in:
Adam Williamson 2017-12-21 16:55:35 -08:00
parent c70c29df19
commit 3f284aed9e
2 changed files with 3 additions and 3 deletions

View file

@ -3,7 +3,7 @@ Description=openQA ppc64 worker prep script
[Service]
Type=oneshot
ExecStart=/usr/local/sbin/openqa-ppc64-prep.sh
ExecStart=/etc/cron.hourly/openqa-ppc64-prep
ExecReload=/bin/true
ExecStop=/bin/true
RemainAfterExit=yes

View file

@ -33,8 +33,8 @@
- packages
when: "ansible_architecture is defined and ansible_architecture == 'x86_64'"
- name: Install boot script (to set /dev/kvm perms and disable SMT) (ppc64 only)
copy: src=openqa-ppc64-prep.sh dest=/usr/local/sbin/openqa-ppc64-prep.sh owner=root group=root mode=0755
- name: Install script to set /dev/kvm perms and disable SMT (ppc64 only)
copy: src=openqa-ppc64-prep.sh dest=/etc/cron.hourly/openqa-ppc64-prep owner=root group=root mode=0755
when: "ansible_architecture is defined and ansible_architecture == 'ppc64le'"
- name: Install systemd service to run boot script (ppc64 only)