Add elements for nodepool-builder

Expose a place for users to start writing custom elements for
nodepool-builder.

Change-Id: I311fbf1c23d16939b91dd94f566dcd4509fc502e
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-08 16:56:16 -04:00
parent eaec6f8d5e
commit 37374741bb
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
3 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,4 @@
DIB Elements
============
Elements used by diskimage-builder for building images with nodepool-builder.

View File

@ -1,6 +1,7 @@
# This file is generated by Ansible
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
#
elements-dir: /etc/nodepool/elements
images-dir: /opt/nodepool/images
zookeeper-servers:

View File

@ -70,6 +70,15 @@
include_role:
name: openstack.nodepool
- name: Install nodepool elements directory
become: yes
copy:
dest: /etc/nodepool/
group: nodepool
mode: preserve
owner: nodepool
src: "{{ windmill_config_git_dest }}/nodepool/elements"
- name: Setup openstack.logrotate role
include_role:
name: openstack.logrotate