added docker repo

This commit is contained in:
Egon Rijpkema
2017-07-31 13:21:03 +02:00
parent 2b3e8cebae
commit 1a78f649e8
14 changed files with 60 additions and 30 deletions

View File

@ -1,5 +1,10 @@
# 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

View File

@ -13,7 +13,7 @@ ExecStart=/usr/bin/docker run --name %n \
--add-host=nova-controller:{{ hostvars[groups['nova-controller'][0]]['ansible_default_ipv4']['address'] }} \
--add-host=keystone:{{ hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address'] }} \
-p 80:80 \
hpc/horizon
hpc/openstack-horizon
[Install]
WantedBy=multi-user.target