diff --git a/blockchain_integration/pi_network/CloudNexus/roles/pi-network/tasks/web.yml b/blockchain_integration/pi_network/CloudNexus/roles/pi-network/tasks/web.yml new file mode 100644 index 000000000..e202b9610 --- /dev/null +++ b/blockchain_integration/pi_network/CloudNexus/roles/pi-network/tasks/web.yml @@ -0,0 +1,17 @@ +--- +- name: Configure Pi Network web + become: yes + + tasks: + - name: Configure Pi Network web + template: + src: templates/pi-network-web.conf.j2 + dest: /etc/nginx/sites-available/pi-network-web + mode: '0644' + notify: restart nginx + + - name: Start Pi Network web + service: + name: pi-network-web + state: started + enabled: yes