forked from lacchain/besu-pro-testnet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
site-lacchain-writer.yml
51 lines (42 loc) · 1.17 KB
/
site-lacchain-writer.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
- hosts: writer
gather_facts: yes
become: yes
vars:
install: true
vars_prompt:
- name: "Please read the terms and conditions before installing this software: https://github.com/lacchain/pantheon-network/blob/master/TERMS_AND_COND_WRITER_NODE.md .Press ENTER "
- name: "haveRead"
prompt: "Have you read the Terms and Conditions of use of LACChain Test Network? [Y/N]"
private: no
- name: "isAgree"
prompt: "Do you agree with the Terms and Conditions of use of LACChain Test Network? [Y/N]"
private: no
tasks:
- fail:
msg: 'Please Accept the conditions by typing Y when prompted.'
when: " (haveRead != 'Y' and haveRead != 'y') or ( isAgree != 'Y' and isAgree != 'y' ) "
- debug:
msg: "Starting Installation"
- hosts: orion
gather_facts: yes
become: yes
vars:
install: true
roles:
- role: lacchain-orion-node
when: orion | bool
- hosts: tessera
gather_facts: yes
become: yes
vars:
install: true
roles:
- role: lacchain-tessera-node
when: tessera | bool
- hosts: writer
gather_facts: yes
become: yes
vars:
install: true
roles:
- lacchain-writer-node