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:
parent
c70c29df19
commit
3f284aed9e
2 changed files with 3 additions and 3 deletions
|
@ -3,7 +3,7 @@ Description=openQA ppc64 worker prep script
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/local/sbin/openqa-ppc64-prep.sh
|
ExecStart=/etc/cron.hourly/openqa-ppc64-prep
|
||||||
ExecReload=/bin/true
|
ExecReload=/bin/true
|
||||||
ExecStop=/bin/true
|
ExecStop=/bin/true
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
|
|
|
@ -33,8 +33,8 @@
|
||||||
- packages
|
- packages
|
||||||
when: "ansible_architecture is defined and ansible_architecture == 'x86_64'"
|
when: "ansible_architecture is defined and ansible_architecture == 'x86_64'"
|
||||||
|
|
||||||
- name: Install boot script (to set /dev/kvm perms and disable SMT) (ppc64 only)
|
- name: Install 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
|
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'"
|
when: "ansible_architecture is defined and ansible_architecture == 'ppc64le'"
|
||||||
|
|
||||||
- name: Install systemd service to run boot script (ppc64 only)
|
- name: Install systemd service to run boot script (ppc64 only)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue