File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change 41
41
delegate_to : localhost
42
42
check_mode : false
43
43
44
+ - name : Create unpack dir
45
+ become : false
46
+ file :
47
+ path : " /tmp/coredns_{{ coredns_version }}_linux_{{ go_arch }}"
48
+ state : directory
49
+ mode : 0755
50
+ delegate_to : localhost
51
+ check_mode : false
52
+
44
53
- name : Unpack coredns binary
45
54
become : false
46
55
unarchive :
47
56
src : " /tmp/coredns_{{ coredns_version }}_linux_{{ go_arch }}.tgz"
48
- dest : " /tmp"
49
- creates : " /tmp/coredns"
57
+ dest : " /tmp/coredns_{{ coredns_version }}_linux_{{ go_arch }} "
58
+ creates : " /tmp/coredns_{{ coredns_version }}_linux_{{ go_arch }}/ coredns"
50
59
delegate_to : localhost
51
60
check_mode : false
52
61
53
62
- name : Propagate coredns binaries
54
63
copy :
55
- src : " /tmp/coredns"
64
+ src : " /tmp/coredns_{{ coredns_version }}_linux_{{ go_arch }}/ coredns"
56
65
dest : " /usr/local/bin/coredns"
57
66
mode : 0750
58
67
owner : " {{ coredns_system_user }}"
You can’t perform that action at this time.
0 commit comments