diff --git a/scripts/ansible/indy_config_default.py b/scripts/ansible/indy_config_default.py new file mode 100644 index 000000000..44422eaf8 --- /dev/null +++ b/scripts/ansible/indy_config_default.py @@ -0,0 +1,26 @@ +# Current network +NETWORK_NAME = 'sandbox' + +# Disable stdout logging +enableStdOutLogging = False + +# Directory to store ledger. +LEDGER_DIR = '/var/lib/indy' + +# Directory to store logs. +LOG_DIR = '/var/log/indy' + +# Directory to store keys. +KEYS_DIR = '/var/lib/indy' + +# Directory to store genesis transactions files. +GENESIS_DIR = '/var/lib/indy' + +# Directory to store backups. +BACKUP_DIR = '/var/lib/indy/backup' + +# Directory to store plugins. +PLUGINS_DIR = '/var/lib/indy/plugins' + +# Directory to store node info. +NODE_INFO_DIR = '/var/lib/indy' diff --git a/scripts/ansible/pool_install.yml b/scripts/ansible/pool_install.yml index ef78de45d..12b11d252 100644 --- a/scripts/ansible/pool_install.yml +++ b/scripts/ansible/pool_install.yml @@ -4,8 +4,8 @@ vars: pool_prefix: live_node pool_size: "{{ groups['pool']|count }}" - node_ver: 1.4.478 - plenum_ver: 1.4.418 + node_ver: 1.6.563 + plenum_ver: 1.6.501 python_indy_crypto_ver: 0.4.1 libindy_crypto_ver: 0.4.0 @@ -31,6 +31,14 @@ - name: Install indy-node apt: "name=indy-node={{ node_ver }},indy-plenum={{ plenum_ver }},libindy-crypto={{ libindy_crypto_ver }},python3-indy-crypto={{ python_indy_crypto_ver }} force=yes update_cache=yes" become: yes + + - name: Make indy config dir + file: path=/etc/indy state=directory owner=indy group=indy + become: yes + + - name: Set our default config + copy: src=indy_config_default.py dest=/etc/indy/indy_config.py owner=indy group=indy + become: yes - name: Make pool data dir file: path=/var/lib/indy/sandbox state=directory owner=indy group=indy