Allow the Kolla directory to be configurable
Implements the initial structure for variable substitution in ansible. Change-Id: I26d82189273be6ebf941b0ab82efc6bf1eebc53d
This commit is contained in:
parent
c46cdfd53e
commit
9a81566d05
@ -25,6 +25,9 @@ to setup ssh-keys. More information on the ansible inventory file can be found
|
||||
Deploying
|
||||
---------
|
||||
|
||||
You can adjust variables for your environment in the file:
|
||||
"./kolla/ansible/group_vars/all.yml"
|
||||
|
||||
For All-In-One deploys, you can run the following commands. These will setup all
|
||||
of the containers on your localhost.
|
||||
|
||||
|
1
ansible/group_vars/all.yml
Normal file
1
ansible/group_vars/all.yml
Normal file
@ -0,0 +1 @@
|
||||
koalla_directory: "/usr/share/kolla"
|
@ -2,6 +2,6 @@
|
||||
- name: Bringing up mariadb service(s)
|
||||
docker_compose:
|
||||
project_name: mariadb
|
||||
compose_file: /usr/share/kolla/compose/mariadb.yml
|
||||
compose_file: "{{ koalla_directory }}/compose/mariadb.yml"
|
||||
command: up
|
||||
no_recreate: true
|
||||
|
@ -2,6 +2,6 @@
|
||||
- name: Bringing up rabbitmq service(s)
|
||||
docker_compose:
|
||||
project_name: rabbitmq
|
||||
compose_file: /usr/share/kolla/compose/rabbitmq.yml
|
||||
compose_file: "{{ koalla_directory }}/compose/rabbitmq.yml"
|
||||
command: up
|
||||
no_recreate: true
|
||||
|
Loading…
Reference in New Issue
Block a user