mirror of https://github.com/nucypher/nucypher.git
Adjust moe access to existing networks file
parent
9e3139ffa3
commit
e9bf56e4d3
|
@ -8,8 +8,12 @@
|
|||
raw: sudo apt -y update && sudo apt install -y python2.7-minimal python2.7-setuptools
|
||||
- include_vars: "{{ lookup('env', 'ANSIBLE_VARIABLES') }}"
|
||||
|
||||
- include_vars:
|
||||
file: "{{ networks_file }}"
|
||||
name: networks
|
||||
|
||||
vars:
|
||||
networks_file: "{{ lookup('file', '../../networks.json') | from_json }}"
|
||||
networks_file: "{{ lookup('file', networks_filepath) | from_json }}"
|
||||
|
||||
tasks:
|
||||
- name: "Install System Dependencies"
|
||||
|
@ -62,7 +66,7 @@
|
|||
vars:
|
||||
virtualenv_path: '/home/ubuntu/venv'
|
||||
nucypher_network_domain: "{{ lookup('env', 'NUCYPHER_NETWORK_NAME') }}"
|
||||
teacher_uri: "{{ networks_file[lookup('env', 'NUCYPHER_NETWORK_NAME')][0] }}"
|
||||
teacher_uri: "{{ networks[lookup('env', 'NUCYPHER_NETWORK_NAME')][0] }}"
|
||||
|
||||
- name: "Enable and Start Moes's Monitoring"
|
||||
become: yes
|
||||
|
|
Loading…
Reference in New Issue