Moving conifguration into windmill-config

This is the first commit which will start to move our end user
configuration into its own git repo.  For now, we can just move this
into the top-level config directory, but eventually this will be
placed in an external repo which users will then be able to clone and
modify locally.

Change-Id: I2db520b5b5349f30bd2495a7f1b686dc4de21c5f
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-04-07 21:22:00 -04:00
parent 79057d41f7
commit 7f1d866066
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
9 changed files with 11 additions and 4 deletions

3
config/README.rst Normal file
View File

@ -0,0 +1,3 @@
===============
windmill-config
===============

View File

@ -14,3 +14,7 @@
---
# windmill.virtualenv
virtualenv_install_method: pip
# windmill-config
# TODO(pabelanger): Create windmill-config project on git.o.o.
windmill_config_git_dest: ../config

View File

@ -56,7 +56,7 @@
group: nodepool
mode: 0400
owner: nodepool
src: nodepool/home/nodepool/.config/openstack/clouds.yaml
src: "{{ windmill_config_git_dest }}/nodepool/clouds.yaml"
- name: Template disk-image-create wrapper script.
become: yes

View File

@ -46,7 +46,7 @@
group: nodepool
mode: 0400
owner: nodepool
src: nodepool/home/nodepool/.config/openstack/clouds.yaml
src: "{{ windmill_config_git_dest }}/nodepool/clouds.yaml"
tasks:
- name: Setup openstack.logrotate role.

View File

@ -18,7 +18,7 @@
# windmill.nodepool
# NOTE(pabelanger): Because we are installing nodepool and nodepool-builder on a
# shared host, we need to make sure both tasks use the same configuration.
nodepool_file_nodepool_yaml_src: nodepool/etc/nodepool/nodepool.yaml.j2
nodepool_file_nodepool_yaml_src: "{{ windmill_config_git_dest }}/nodepool/nodepool.yaml.j2"
# windmill.ssh
ssh_key_private_content: |

View File

@ -16,7 +16,7 @@
# current don't because this deployment is used as an example.
# windmill.zuul
zuul_file_zuul_conf_src: zuul/etc/zuul/zuul.conf.j2
zuul_file_zuul_conf_src: "{{ windmill_config_git_dest }}/zuul/zuul.conf.j2"
# windmill.ssh
ssh_key_private_content: |