github.com/noirx94/tendermintmp@v0.0.1/networks/remote/ansible/roles/config/tasks/main.yml (about) 1 --- 2 3 - name: Copy binary 4 copy: 5 src: "{{BINARY}}" 6 dest: /usr/bin 7 mode: 0755 8 9 - name: Copy config 10 when: item <= N and ansible_hostname == 'sentrynet-node' ~ item 11 copy: 12 src: "{{CONFIGDIR}}/node{{item}}/" 13 dest: "/home/{{service}}/.{{service}}/" 14 owner: "{{service}}" 15 group: "{{service}}" 16 loop: [ 0, 1, 2, 3, 4, 5, 6, 7 ] 17