blob: 71edef86c7f2ced0d69d373e0b68cbf8f6d6d4e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
---
- name: pull latest buildah source from github
git:
repo: https://github.com/projectatomic/buildah
dest: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
- name: make binary for buildah
command: make
args:
chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
- name: install buildah to /usr/local/bin
command: make install
args:
chdir: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah"
- name: copy buildah to /usr/bin
copy:
remote_src: True
src: "{{ ansible_env.HOME }}/go/src/github.com/projectatomic/buildah/buildah"
dest: /usr/bin/buildah
|