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 @@
# Build and install a docker image for neutron-controller.
---
- name: pull docker image
docker_image:
name: webhost12.service.rug.nl/hpc/openstack-neutron-controller:latest
tags: pull
- set_fact:
env_vars: >
-e "KEYSTONE_HOST={{ hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address'] }}"
@ -35,7 +40,7 @@
--add-host=mariadb:{{ hostvars[groups['databases'][0]]['ansible_default_ipv4']['address'] }}
--add-host=keystone:{{ hostvars[groups['keystone'][0]]['ansible_default_ipv4']['address'] }}
--network host
hpc/neutroncontroller
hpc/openstack-neutron-controller
/etc/bootstrap.sh
tags: bootstrap