summaryrefslogtreecommitdiff
path: root/mason/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'mason/ansible')
-rw-r--r--mason/ansible/mason-setup.yml17
1 files changed, 12 insertions, 5 deletions
diff --git a/mason/ansible/mason-setup.yml b/mason/ansible/mason-setup.yml
index 66d38d81..d47439b5 100644
--- a/mason/ansible/mason-setup.yml
+++ b/mason/ansible/mason-setup.yml
@@ -70,14 +70,21 @@
- fail: msg='OS_AUTH_URL is mandatory when MASON_TEST_INFRASTRUCTURE_TYPE=openstack'
when: MASON_TEST_INFRASTRUCTURE_TYPE == "openstack" and OS_AUTH_URL is not defined
- - name: Create required configuration files
- template: src=/usr/share/mason-setup/{{ item }} dest=/etc/{{ item }}
+ - name: Create Zuul configuration directory
+ file: path=/etc/zuul state=directory
+
+ - name: Create Zuul configuration files
+ template: src=/usr/share/mason-setup/zuul/{{ item }} dest=/etc/zuul/{{ item }}
with_items:
- zuul.conf
- - turbo-hipster-config.yaml
+ - layout.yaml
+ - logging.conf
+
+ - name: Create other required configuration files
+ template: src=/usr/share/mason-setup/{{ item }} dest=/etc/{{ item }}
+ with_items:
- lighttpd.conf
- - zuul-layout.yaml
- - zuul-logging.conf
+ - turbo-hipster-config.yaml
- name: Create the OpenStack credentials file
template: src=/usr/share/mason-setup/{{ item }} dest=/etc/{{ item }}