22 lines
441 B
YAML
22 lines
441 B
YAML
# Run hpc/horizon
|
|
---
|
|
- name: pull docker image
|
|
docker_image:
|
|
name: webhost12.service.rug.nl/hpc/openstack-horizon:latest
|
|
tags: pull
|
|
|
|
- name: install service file.
|
|
template:
|
|
src: templates/horizon.service
|
|
dest: /etc/systemd/system/horizon.service
|
|
mode: 644
|
|
owner: root
|
|
group: root
|
|
|
|
- command: systemctl daemon-reload
|
|
|
|
- name: make sure service is started
|
|
systemd:
|
|
name: horizon.service
|
|
state: restarted
|