summaryrefslogtreecommitdiff
path: root/contrib/test/integration/build/bats.yml
blob: d4ea19c65ad2b27ccf16d65b18e889d17c84f42b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---

- name: clone bats source repo
  git:
    repo: "https://github.com/sstephenson/bats.git"
    dest: "{{ ansible_env.GOPATH }}/src/github.com/sstephenson/bats"

- 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