Zsolt Haraszti | ec7df10 | 2016-05-05 13:34:18 -0700 | [diff] [blame] | 1 | - name: Directory is created |
2 | file: | ||||
3 | path: /data/consul-template | ||||
4 | state: directory | ||||
5 | tags: [consul-template] | ||||
6 | |||||
7 | - name: File is copied | ||||
8 | copy: | ||||
9 | src: consul-template | ||||
10 | dest: /usr/local/bin/consul-template | ||||
11 | mode: 0755 | ||||
12 | tags: [consul-template] | ||||
13 | |||||
14 | - name: Example template is copied | ||||
15 | copy: | ||||
16 | src: example.ctmpl | ||||
17 | dest: /data/consul-template/example.ctmpl | ||||
18 | mode: 0644 | ||||
19 | tags: [consul-template] |