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.
google-croscore-fonts/tests/test_simple.yml

36 lines
776 B

- hosts: localhost
6 years ago
vars:
- artifacts: ./artifacts
tags:
- classic
remote_user: root
tasks:
- name: Install required packages
dnf:
name: google-arimo-fonts
6 years ago
state: latest
dnf:
name: google-cousine-fonts
state: latest
dnf:
name: google-tinos-fonts
state: latest
6 years ago
- 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 }
6 years ago
- 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