You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
648 B
26 lines
648 B
- hosts: localhost
|
|
roles:
|
|
- role: standard-test-basic
|
|
tags:
|
|
- classic
|
|
remote_user: root
|
|
tasks:
|
|
- name: Install the test files
|
|
copy: src={{ item.file }} dest=/usr/local/bin/{{ item.dest }} mode=0755
|
|
with_items:
|
|
- {file: test-simple, dest: test-simple }
|
|
|
|
- name: Test block
|
|
block:
|
|
- name: Execute the tests
|
|
shell: exec > /tmp/test.log 2>&1 && /usr/local/bin/test-simple
|
|
|
|
always:
|
|
- name: Pull out the logs
|
|
fetch:
|
|
dest: "{{ artifacts }}/"
|
|
src: "/tmp/test.log"
|
|
flat: yes
|
|
required_packages:
|
|
- google-croscore-fonts
|