summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-10-14 08:54:45 +0200
committerPavel Raiskup <praiskup@redhat.com>2014-10-14 08:55:50 +0200
commit2fc91b1dc56823bc615ce0cb19a8ee79645af6a2 (patch)
treea13756c979286bde1d548674b9caa5d50f77f129
parent9456c8e1feac086c4a0346875363b24ae2f26dc3 (diff)
downloadpostgresql-setup-tests-2fc91b1dc56823bc615ce0cb19a8ee79645af6a2.tar.gz
postgresql-setup-tests-2fc91b1dc56823bc615ce0cb19a8ee79645af6a2.tar.xz
postgresql-setup-tests-2fc91b1dc56823bc615ce0cb19a8ee79645af6a2.zip
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.
-rw-r--r--ansible/fedora.yml8
-rw-r--r--ansible/include/download-results.yml2
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