Correct root var definition in deployment playbook
This was an attempt to make the playbook work locally and remotely,
but is insufficient since the "zuul" variable needs to be
de-referenced. Remove the local code path for now.
Change-Id: I0957ca15144485d0d6f8b4232555019ba2fdd948
diff --git a/playbooks/deploy.yaml b/playbooks/deploy.yaml
index f876688..3253f7b 100644
--- a/playbooks/deploy.yaml
+++ b/playbooks/deploy.yaml
@@ -1,7 +1,7 @@
- name: Deploy Zuul
hosts: localhost
vars:
- root: "{{ (zuul is defined) | ternary(zuul.executor.work_root + '/' + zuul.project.src_dir, '..') }}"
+ root: "{{ (zuul.executor.work_root + '/' + zuul.project.src_dir) }}"
tasks:
- name: Make kube directory
file: