Drop elements-dir from nodepool.yaml

This is an optional setting, and not needed to start nodepool.

Change-Id: I603b4a79f9a15ad404df4b34377c2f9fc0f7ba17
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-12-24 12:13:31 -05:00
parent cf93f245f6
commit 8dc8c157eb
4 changed files with 0 additions and 32 deletions

View File

@ -1,6 +0,0 @@
# This file is generated by Ansible
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
#
# This folder is where you place your diskimage-builder elements to be used by
# nodepool-builder.

View File

@ -83,13 +83,3 @@
owner: "{{nodepool_file_launcher_logging_conf_owner }}"
src: "{{ nodepool_file_launcher_logging_conf_src }}"
register: nodepool_file_launcher_logging_conf
- name: Install nodepool elements directory.
become: yes
copy:
dest: "{{ nodepool_file_nodepool_elements_dest }}"
group: "{{ nodepool_file_nodepool_elements_group }}"
mode: "{{ nodepool_file_nodepool_elements_mode }}"
owner: "{{nodepool_file_nodepool_elements_owner }}"
src: "{{ nodepool_file_nodepool_elements_src }}"
register: nodepool_file_nodepool_elements

View File

@ -1,7 +1,6 @@
# 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

@ -36,7 +36,6 @@
- nodepool_file_builder_logging_conf
- nodepool_file_deleter_logging_conf
- nodepool_file_launcher_logging_conf
- nodepool_file_nodepool_elements
- nodepool_file_nodepool_service
- nodepool_file_nodepool_service_config
- nodepool_file_nodepool_builder_service
@ -166,20 +165,6 @@
- secure_conf_stat.stat.gr_name == 'nodepool'
- secure_conf_stat.stat.mode == '0600'
- name: Register nodepool_elements_dir_dest_stat.
stat:
path: /etc/nodepool/elements
register: nodepool_elements_dir_dest_stat
- name: Assert nodepool_elements_dir_dest tests.
assert:
that:
- nodepool_elements_dir_dest_stat.stat.exists
- nodepool_elements_dir_dest_stat.stat.isdir
- nodepool_elements_dir_dest_stat.stat.pw_name == 'nodepool'
- nodepool_elements_dir_dest_stat.stat.gr_name == 'nodepool'
- nodepool_elements_dir_dest_stat.stat.mode == '0755'
- name: Register nodepool_user_home_stat.
stat:
path: /var/lib/nodepool