28721e46e4
and default the value to 0755. Change-Id: I2d5374c49d682a0e8b565e61d280e73fc4619863 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
98 lines
3.7 KiB
YAML
98 lines
3.7 KiB
YAML
# Copyright 2015 Red Hat, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
|
|
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
|
|
# License for the specific language governing permissions and limitations
|
|
# under the License.
|
|
---
|
|
# tasks/main.yaml
|
|
nodepool_task_manager:
|
|
- pre
|
|
- install
|
|
- config
|
|
- service
|
|
|
|
# tasks/config.yaml
|
|
nodepool_user_name: nodepool
|
|
nodepool_user_group: nodepool
|
|
nodepool_user_home: /var/lib/nodepool
|
|
nodepool_user_home_mode: 0755
|
|
# nodepool_user_shell:
|
|
|
|
nodepool_file_nodepool_yaml_dest: /etc/nodepool/nodepool.yaml
|
|
nodepool_file_nodepool_yaml_group: "{{ nodepool_user_group }}"
|
|
nodepool_file_nodepool_yaml_mode: 0644
|
|
nodepool_file_nodepool_yaml_owner: "{{ nodepool_user_name }}"
|
|
nodepool_file_nodepool_yaml_src: etc/nodepool/nodepool.yaml
|
|
|
|
nodepool_file_secure_conf_dest: /etc/nodepool/secure.conf
|
|
nodepool_file_secure_conf_group: "{{ nodepool_user_group }}"
|
|
nodepool_file_secure_conf_mode: 0600
|
|
nodepool_file_secure_conf_owner: "{{ nodepool_user_name }}"
|
|
nodepool_file_secure_conf_src: etc/nodepool/secure.conf
|
|
|
|
nodepool_file_builder_logging_conf_dest: /etc/nodepool/builder-logging.conf
|
|
nodepool_file_builder_logging_conf_group: "{{ nodepool_user_group }}"
|
|
nodepool_file_builder_logging_conf_mode: 0644
|
|
nodepool_file_builder_logging_conf_owner: "{{ nodepool_user_name }}"
|
|
nodepool_file_builder_logging_conf_src: etc/nodepool/builder-logging.conf
|
|
|
|
nodepool_file_launcher_logging_conf_dest: /etc/nodepool/launcher-logging.conf
|
|
nodepool_file_launcher_logging_conf_group: "{{ nodepool_user_group }}"
|
|
nodepool_file_launcher_logging_conf_mode: 0644
|
|
nodepool_file_launcher_logging_conf_owner: "{{ nodepool_user_name }}"
|
|
nodepool_file_launcher_logging_conf_src: etc/nodepool/launcher-logging.conf
|
|
|
|
# tasks/install.yaml
|
|
nodepool_git_dest: "{{ ansible_user_dir }}/src/git.openstack.org/openstack-infra/nodepool"
|
|
nodepool_git_uri: https://git.openstack.org/openstack-infra/nodepool
|
|
nodepool_git_version: master
|
|
# nodepool_git_refspec:
|
|
# nodepool_git_update:
|
|
|
|
nodepool_install_method: pip
|
|
|
|
nodepool_pip_name: nodepool
|
|
# nodepool_pip_executable:
|
|
# nodepool_pip_editable:
|
|
# nodepool_pip_extra_args:
|
|
# nodepool_pip_version:
|
|
# nodepool_pip_virtualenv_python:
|
|
# nodepool_pip_virtualenv:
|
|
|
|
# tasks/service.yaml
|
|
nodepool_file_nodepool_builder_service_manage: true
|
|
nodepool_file_nodepool_builder_service_group: root
|
|
nodepool_file_nodepool_builder_service_owner: root
|
|
|
|
nodepool_file_nodepool_builder_service_config_manage: true
|
|
nodepool_file_nodepool_builder_service_config_group: root
|
|
nodepool_file_nodepool_builder_service_config_owner: root
|
|
|
|
nodepool_file_nodepool_launcher_service_manage: true
|
|
nodepool_file_nodepool_launcher_service_group: root
|
|
nodepool_file_nodepool_launcher_service_owner: root
|
|
|
|
nodepool_file_nodepool_launcher_service_config_manage: true
|
|
nodepool_file_nodepool_launcher_service_config_group: root
|
|
nodepool_file_nodepool_launcher_service_config_owner: root
|
|
|
|
nodepool_service_nodepool_builder_daemon_reload: true
|
|
nodepool_service_nodepool_builder_enabled: true
|
|
nodepool_service_nodepool_builder_manage: true
|
|
nodepool_service_nodepool_builder_name: nodepool-builder
|
|
nodepool_service_nodepool_builder_state: started
|
|
|
|
nodepool_service_nodepool_launcher_daemon_reload: true
|
|
nodepool_service_nodepool_launcher_enabled: true
|
|
nodepool_service_nodepool_launcher_manage: true
|
|
nodepool_service_nodepool_launcher_name: nodepool-launcher
|
|
nodepool_service_nodepool_launcher_state: started
|