Add os-client-config support
Change-Id: I6dd96af86d8a080ff7a6f5700f8b52e3ad770151 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
27d3428548
commit
e2acef2597
@ -24,6 +24,10 @@ nodepool_config_zmq_publishers: []
|
|||||||
|
|
||||||
nodepool_file_logging_conf: etc/nodepool/logging.conf
|
nodepool_file_logging_conf: etc/nodepool/logging.conf
|
||||||
|
|
||||||
|
nodepool_template_clouds_yaml_contents: ""
|
||||||
|
nodepool_template_clouds_yaml_dest: /var/lib/nodepool/.config/openstack/clouds.yaml
|
||||||
|
nodepool_template_clouds_yaml_src: var/lib/nodepool/.config/openstack/clouds.yaml.j2
|
||||||
|
|
||||||
nodepool_template_nodepool_yaml_contents: |
|
nodepool_template_nodepool_yaml_contents: |
|
||||||
diskimages: []
|
diskimages: []
|
||||||
labels: []
|
labels: []
|
||||||
|
@ -27,8 +27,15 @@
|
|||||||
with_items:
|
with_items:
|
||||||
- /etc/nodepool
|
- /etc/nodepool
|
||||||
- "{{ nodepool_config_images_dir }}"
|
- "{{ nodepool_config_images_dir }}"
|
||||||
|
- /var/lib/nodepool/.config/openstack
|
||||||
- /var/log/nodepool
|
- /var/log/nodepool
|
||||||
|
|
||||||
|
- name: Template clouds yaml file.
|
||||||
|
template:
|
||||||
|
dest: "{{ nodepool_template_clouds_yaml_dest }}"
|
||||||
|
src: "{{ nodepool_template_clouds_yaml_src }}"
|
||||||
|
notify: Restart nodepool
|
||||||
|
|
||||||
- name: Template secure configuration file.
|
- name: Template secure configuration file.
|
||||||
template:
|
template:
|
||||||
dest: "{{ nodepool_template_secure_conf_dest }}"
|
dest: "{{ nodepool_template_secure_conf_dest }}"
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
# This file is generated by Ansible
|
||||||
|
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
|
||||||
|
#
|
||||||
|
{{ nodepool_template_clouds_yaml_contents }}
|
||||||
|
# {{ ansible_managed }}
|
Loading…
Reference in New Issue
Block a user