Use template in ansible-role-zuul

Because we've switched to template in ansible-role-zuul, we can just
use it.

Change-Id: Iac1cc7410ca19f23dd0b4ade097fa50df426938c
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2016-12-24 15:48:40 -05:00
parent 804d35019f
commit 00e050ff0d
2 changed files with 1 additions and 12 deletions

View File

@ -31,14 +31,3 @@
name: "{{ hostvars[item].ansible_host }}"
key: "{{ lookup('pipe', 'ssh-keyscan -t rsa {{ hostvars[item].ansible_host }}') }}"
with_inventory_hostnames: all:!bastion
tasks:
- name: Create tmp directory.
file:
path: /tmp/windmill/zuul/etc/zuul
state: directory
- name: Template
template:
dest: /tmp/windmill/zuul/etc/zuul/zuul.conf
src: zuul/etc/zuul/zuul.conf.j2

View File

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