windmill/playbooks/group_vars/nodepool-builder.yaml

56 lines
2.5 KiB
YAML

# 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.diskimage-builder
diskimage_builder_pip_virtualenv_python: python3
diskimage_builder_pip_virtualenv: /opt/venv/nodepool
# windmill.nodepool
nodepool_file_nodepool_builder_service_config_src: nodepool-builder/etc/systemd/system/nodepool-builder.service.d/override.conf.j2
nodepool_pip_virtualenv_python: python3
nodepool_pip_virtualenv: /opt/venv/nodepool
nodepool_file_nodepool_launcher_service_config_manage: false
nodepool_file_nodepool_launcher_service_manage: false
nodepool_service_nodepool_launcher_manage: false
# windmill.shade
shade_pip_virtualenv_python: python3
shade_pip_virtualenv: /opt/venv/nodepool
# openstack.logrotate
logrotate_configs:
- name: nodepool-builder
log: /var/log/nodepool/builder-debug.log /var/log/nodepool/nodepool-builder.log
options:
- compress
- missingok
- rotate 7
- daily
- notifempty
# openstack.sudoers
sudoers_task_manager:
- config
sudoers_file_includes_dest: /etc/sudoers.d/nodepool
sudoers_file_includes_src: nodepool-builder/etc/sudoers.d/nodepool.j2
# windmill.ssh
ssh_user_name: "{{ nodepool_user_name|default('nodepool') }}"
ssh_user_home: "{{ nodepool_user_home|default('/var/lib/nodepool') }}"
ssh_key_public_content: |
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDPFYsTS2aTFpgJHACEZjtkr4kt7rf9fHjavl5OhCq7rwAzfiQfq25YSaCZRRPywjUg6stm5JmBCLvQAa1LuhpsrUTE61TvGBIxeRwE6B0OecPW8SoXNbhgvfdrgVb4OIvH51tndPmXYPMpVN03iWyoSfN58YE77Z0VipDuG++dAjSJg+bmBlmmVE3L1419E2Jm56OnRDADWEDlvYciEIXaFWN9pIYXTL+Q1QdYKkWGPfuvMu6k5xSgQtNeXO4IWLSKyqkqj/PRQeY7XVBNstRhGzy+10fV0J4LrYcTAs/80rI2qgvrRoiDuXuhPMXyyD0OxoVrlIO4/f7BD2xk1lbq6JrUQthsNeLn9O5KVX9H7zhnFM1EUSRZz+knasDRfv8jrfrhUtM1QpF/3LITKftrjbr9whpOrxGSKSRRtnYlS5OrY1o9qqEfYPbelQdnz4oa+aTl0R7ApLfRpg64tbF1uNyVXwJvm7EYY2Ju1t0dY6vxFWlC8lLujE4Zq/VWajf5FhzsIh6SD0NVdz8UK1W/sZYKczejo0UHgQujfuJeJ3wRWAB/idzP2B69/uFJn7gp6199637j3v/3l38xRPi/kbh8zK0LjwvR8PKOlTx8pMJzNFaLzRqOTVJzhl4YmlYXtiNpxf/7/dPRUu8kJlb+yvVPo811v537EnmtsXin9w== zuul@example.org