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:
Paul Belanger
2016-02-05 10:37:56 -05:00
parent ea50fe4ec7
commit 3e493ac11d
7 changed files with 104 additions and 0 deletions

View 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

View 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

View File

@@ -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

View 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

View 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

View File

@@ -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

View 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.