Make poa_role a separte variable

This commit is contained in:
phahulin 2018-01-03 00:47:49 +03:00
parent ab1399979d
commit 492cc9f9ab
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
---
poa_role: "bootnode|validator|moc|explorer|netstat"
#AWS Key
access_key: "KEY_NAME"
secret_key: "KEY_SECRET"

View File

@ -11,7 +11,7 @@
- name: Create blockchain archive
archive:
format: gz
path: /home/moc/parity_data
path: /home/{{ poa_role }}/parity_data
dest: "/data/parity_data.tar.gz"
- name: Upload to s3