configure-network.yml 600 B

123456789101112131415161718192021222324252627
  1. ---
  2. # Configure chain spec, start joystream-node and other services on the servers
  3. - name: Create and copy the chain-spec file
  4. hosts: all
  5. tasks:
  6. - name: Generate chain-spec file and data keys on build server
  7. include_role:
  8. name: common
  9. tasks_from: chain-spec-node-keys
  10. vars:
  11. build_instance: "{{ groups['build'][0] }}"
  12. - name: Copy secret, auth and start joystream-node service for validators
  13. hosts: validators
  14. gather_facts: no
  15. roles:
  16. - validators
  17. - name: Configure RPC service and start it
  18. hosts: rpc
  19. gather_facts: no
  20. roles:
  21. - rpc