Move remaining x stuff to main directory
This commit is contained in:
6
resources/keystone_service/actions/remove.yml
Normal file
6
resources/keystone_service/actions/remove.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
# TODO
|
||||
- hosts: [{{ ip }}]
|
||||
sudo: yes
|
||||
tasks:
|
||||
- shell: docker stop {{ name }}
|
||||
- shell: docker rm {{ name }}
|
||||
17
resources/keystone_service/actions/run.yml
Normal file
17
resources/keystone_service/actions/run.yml
Normal 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
|
||||
Reference in New Issue
Block a user