From 2fc91b1dc56823bc615ce0cb19a8ee79645af6a2 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Tue, 14 Oct 2014 08:54:45 +0200 Subject: ansible: fix syntaxe errors * ansible/fedora.yml: Remove leading dashes from before dict keys. * ansible/include/download-results.yml: Make sure that trailing slash is added to fetch destination. --- ansible/fedora.yml | 8 ++++---- ansible/include/download-results.yml | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ansible/fedora.yml b/ansible/fedora.yml index 8e09402..c22ac4b 100644 --- a/ansible/fedora.yml +++ b/ansible/fedora.yml @@ -60,11 +60,11 @@ - shell: cd /root && tar -xf postgresql-setup-tests.tar.gz - shell: cd /root/postgresql-setup-tests && ./run - - register: test_result - - ignore_errors: yes + register: test_result + ignore_errors: yes - include: include/download-results.yml - name: stop the vm - - shell: echo "not implemented yet - - when: test_result.rc == 0 + shell: echo "not implemented yet" + when: test_result.rc == 0 diff --git a/ansible/include/download-results.yml b/ansible/include/download-results.yml index 07f1382..e3a551d 100644 --- a/ansible/include/download-results.yml +++ b/ansible/include/download-results.yml @@ -1,3 +1,3 @@ - shell: cd /var/tmp ; tar -czf dtf.tar.gz dtf -- fetch: src=/var/tmp/dtf.tar.gz dest={{ opt_tmp_resultdir }} flat=yes +- fetch: src=/var/tmp/dtf.tar.gz dest="{{ opt_tmp_resultdir }}/" flat=yes -- cgit