Move remaining x stuff to main directory

This commit is contained in:
Przemyslaw Kaminski
2015-05-22 15:50:11 +02:00
parent 51674c00ad
commit 111ef7e5ee
44 changed files with 13 additions and 13 deletions

View File

@@ -0,0 +1,6 @@
# TODO
- hosts: [{{ ip }}]
sudo: yes
tasks:
- shell: docker stop {{ name }}
- shell: docker rm {{ name }}

View File

@@ -0,0 +1,17 @@
- hosts: [{{ ip }}]
sudo: yes
tasks:
- name: keystone container
docker:
command: /bin/bash -c "keystone-manage db_sync && /usr/bin/keystone-all"
name: {{ name }}
image: {{ image }}
state: running
expose:
- 5000
- 35357
ports:
- {{ port }}:5000
- {{ admin_port }}:35357
volumes:
- {{ config_dir }}:/etc/keystone