Removed hardcoded ips for glance

Also added domain, projects, users creation for keystone.
This guide was followed:
https://docs.openstack.org/ocata/install-guide-ubuntu/keystone-us
This commit is contained in:
Egon Rijpkema
2017-07-12 10:19:45 +02:00
parent 062fabd4b6
commit a25852b39e
9 changed files with 46 additions and 31 deletions

View File

@ -1,26 +1,5 @@
# Build and install a docker image for nova-controller.
---
- name: Make build and persistent directories
file:
path: "{{ item }}"
state: directory
mode: 0777
with_items:
- /srv/nova-controller
# Todo: remove this when we have a docker repo
# Disabled because of https://github.com/ansible/ansible/issues/20653
#- name: clone docker-glance repo
# git:
# accept_hostkey: True
# repo: ssh://git@git.webhosting.rug.nl:222/HPC/docker-nova-service
# dest: /srv/docker-nova-service
- name: build nova-controller image
docker_image:
path: /srv/docker-nova-service
name: hpc/novacontroller
- name: install service file.
template:
src: templates/nova-controller.service