493a72bbc9
It's unsightly and hard to maintain collections of references and long lists across multiple playbooks/include files. Centralize them all in ``vars.yml``, then include that in all plays. Minor: Update all files with a newline at the start and end. Signed-off-by: Chris Evich <cevich@redhat.com>
18 lines
455 B
YAML
18 lines
455 B
YAML
---
|
|
|
|
- name: clone bats source repo
|
|
git:
|
|
repo: "https://github.com/sstephenson/bats.git"
|
|
dest: "{{ ansible_env.GOPATH }}/src/github.com/sstephenson/bats"
|
|
version: "{{ 'pull/161/head' if xunit else 'HEAD' }}"
|
|
|
|
- name: install bats
|
|
command: "./install.sh /usr/local"
|
|
args:
|
|
chdir: "{{ ansible_env.GOPATH }}/src/github.com/sstephenson/bats"
|
|
|
|
- name: link bats
|
|
file:
|
|
src: /usr/local/bin/bats
|
|
dest: /usr/bin/bats
|
|
state: link
|