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

@ -6,6 +6,11 @@
state: directory
mode: 0777
- name: pull keystone image
docker_image:
name: webhost12.service.rug.nl/hpc/openstack-keystone:latest
tags: pull
- name: install service file.
template:
src: templates/keystone.service

View File

@ -12,7 +12,7 @@ ExecStart=/usr/bin/docker run --name %n \
-e "KEYSTONE_HOST={{ hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address'] }}" \
-p 5000:5000 -p 35357:35357 \
-v /srv/keystone/fernet-keys:/etc/keystone/fernet-keys \
hpc/keystone
hpc/openstack-keystone
[Install]
WantedBy=multi-user.target