Add nodepool server and builder services
Change-Id: Iad7cd3a1804e0bfa9c4f93c22e342b0820d69f06 Depends-On: Iaed9769c943412d14674b7c5a9f2d7b899480746 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
18
windmill/group_vars/nodepool-builder.yaml
Normal file
18
windmill/group_vars/nodepool-builder.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copyright 2016 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.
|
||||
---
|
||||
# windmill.nodepool
|
||||
nodepool_service_nodepool_enabled: no
|
||||
nodepool_service_nodepool_manage: false
|
||||
nodepool_service_nodepool_state: stopped
|
||||
18
windmill/group_vars/nodepool-server.yaml
Normal file
18
windmill/group_vars/nodepool-server.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
# Copyright 2016 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.
|
||||
---
|
||||
# windmill.nodepool
|
||||
nodepool_service_nodepool_builder_enabled: no
|
||||
nodepool_service_nodepool_builder_manage: false
|
||||
nodepool_service_nodepool_builder_state: stopped
|
||||
@@ -1,3 +1,9 @@
|
||||
[nodepool-builder]
|
||||
nb01 ansible_host=localhost ansible_user=jenkins
|
||||
|
||||
[nodepool-server]
|
||||
nodepool ansible_host=localhost ansible_user=jenkins
|
||||
|
||||
[zuul-merger]
|
||||
zm01 ansible_host=localhost ansible_user=jenkins
|
||||
|
||||
|
||||
22
windmill/nodepool-builder.yaml
Normal file
22
windmill/nodepool-builder.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2016 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.
|
||||
---
|
||||
- name: Install nodepool-builder.
|
||||
hosts: nodepool-builder
|
||||
|
||||
roles:
|
||||
- windmill.nodepool
|
||||
|
||||
vars_files:
|
||||
- vars/nodepool.yaml
|
||||
22
windmill/nodepool-server.yaml
Normal file
22
windmill/nodepool-server.yaml
Normal file
@@ -0,0 +1,22 @@
|
||||
# Copyright 2016 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.
|
||||
---
|
||||
- name: Install nodepool-server.
|
||||
hosts: nodepool-server
|
||||
|
||||
roles:
|
||||
- windmill.nodepool
|
||||
|
||||
vars_files:
|
||||
- vars/nodepool.yaml
|
||||
@@ -13,5 +13,7 @@
|
||||
# under the License.
|
||||
---
|
||||
- include: bootstrap.yaml
|
||||
- include: nodepool-server.yaml
|
||||
- include: nodepool-builder.yaml
|
||||
- include: zuul-merger.yaml
|
||||
- include: zuul-server.yaml
|
||||
|
||||
16
windmill/vars/nodepool.yaml
Normal file
16
windmill/vars/nodepool.yaml
Normal file
@@ -0,0 +1,16 @@
|
||||
# Copyright 2016 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.
|
||||
---
|
||||
# NOTE(pabelanger): This file _should_ be encrypted using ansible-vault. We
|
||||
# current don't because this deployment is used as an example.
|
||||
Reference in New Issue
Block a user