Add nodepool configuration for directories it uses

Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-08-30 16:35:59 +00:00
parent 4ec4c3dc89
commit 72b773d326
3 changed files with 14 additions and 0 deletions

View File

@ -1,4 +1,9 @@
---
# tasks/config.yaml
nodepool_config_elements_dir: /etc/nodepool/elements
nodepool_config_images_dir: /opt/nodepool/images
nodepool_config_script_dir: /etc/nodepool/scripts
# tasks/install.yaml
nodepool_git_dest: /opt/git/openstack-infra/nodepool
nodepool_git_uri: https://git.openstack.org/openstack-infra/nodepool

View File

@ -1 +1,5 @@
---
- name: Template nodepool configuration file.
template:
dest: /etc/nodepool/nodepool.yaml
src: nodepool.yaml.j2

View File

@ -0,0 +1,5 @@
elements-dir: {{ nodepool_config_elements_dir }}
images-dir: {{nodepool_config_images_dir }}
script-dir: {{ nodepool_config_script_dir }}
# {{ ansible_managed }}