Add nodepool configuration for directories it uses
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
4ec4c3dc89
commit
72b773d326
|
@ -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
|
||||
|
|
|
@ -1 +1,5 @@
|
|||
---
|
||||
- name: Template nodepool configuration file.
|
||||
template:
|
||||
dest: /etc/nodepool/nodepool.yaml
|
||||
src: nodepool.yaml.j2
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
elements-dir: {{ nodepool_config_elements_dir }}
|
||||
images-dir: {{nodepool_config_images_dir }}
|
||||
script-dir: {{ nodepool_config_script_dir }}
|
||||
|
||||
# {{ ansible_managed }}
|
Loading…
Reference in New Issue