diff options
Diffstat (limited to 'ansible')
-rw-r--r-- | ansible/fedora.yml | 5 | ||||
-rw-r--r-- | ansible/include/additional-packages.yml | 6 | ||||
-rw-r--r-- | ansible/include/download-results.yml | 2 |
3 files changed, 12 insertions, 1 deletions
diff --git a/ansible/fedora.yml b/ansible/fedora.yml index d96ef90..5f9eba8 100644 --- a/ansible/fedora.yml +++ b/ansible/fedora.yml @@ -50,9 +50,12 @@ - include: include/prepare-testenv.yml + - include: include/additional-packages.yml + when: dtf_rpm_files_list is defined + - shell: cd /root && tar -xf postgresql-setup-tests.tar.gz - - shell: cd /root/postgresql-setup-tests && ./run + - shell: cd /root/postgresql-setup-tests && ./run &>/var/tmp/dtf-run.overview register: test_result ignore_errors: yes diff --git a/ansible/include/additional-packages.yml b/ansible/include/additional-packages.yml new file mode 100644 index 0000000..f821255 --- /dev/null +++ b/ansible/include/additional-packages.yml @@ -0,0 +1,6 @@ +- local_action: shell cat "{{ dtf_rpm_files_list }}" | xargs -n 100 + register: additional_packages + +- debug: msg="{{ additional_packages.stdout }}" + +- shell: yum install -y {{ additional_packages.stdout }} diff --git a/ansible/include/download-results.yml b/ansible/include/download-results.yml index e3a551d..74b35b8 100644 --- a/ansible/include/download-results.yml +++ b/ansible/include/download-results.yml @@ -1,3 +1,5 @@ +- shell: cp -f /var/tmp/dtf-run.overview /var/tmp/dtf/ + - shell: cd /var/tmp ; tar -czf dtf.tar.gz dtf - fetch: src=/var/tmp/dtf.tar.gz dest="{{ opt_tmp_resultdir }}/" flat=yes |