summaryrefslogtreecommitdiff
path: root/defaults/main.yaml
blob: 902f20cf1b3cdd7d388c146439e9d4f9b86620ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
# 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