File tree Expand file tree Collapse file tree 3 files changed +54
-0
lines changed
roles/initialize_akash/tasks Expand file tree Collapse file tree 3 files changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # - name: Prepare
3+ # hosts: '{{ target }}'
4+ # become: true
5+ # gather_facts: false
6+ # roles:
7+ # - prepare
8+
9+ - name : Install node
10+ hosts : ' {{ target }}'
11+ gather_facts : false
12+ roles :
13+ - initialize_akash
14+ # - standard_node_installation
15+ # - launch_node
Original file line number Diff line number Diff line change 1+ network : akash
2+ folder : ' .akash'
3+ daemon : akash
4+ chain_id : ' akashnet-2'
5+ node_version : ' v0.14.1'
6+ repo : ' https://github.com/ovrclk/akash'
7+ genesis : ' https://raw.githubusercontent.com/ovrclk/net/master/mainnet/genesis.json'
8+ peers : ' '
9+ minimum_gas_price : ' '
Original file line number Diff line number Diff line change 1+ ---
2+ # - name: Initialize Node
3+ # command: '{{ daemon }} init {{ validator_name }} --chain-id {{ chain_id }} -o'
4+ # environment:
5+ # PATH: '{{ path }}'
6+ - name : Download genesis file
7+ get_url :
8+ url : ' {{ genesis }}'
9+ dest : ' /home/{{ ansible_user }}/{{ folder }}/config/genesis.json'
10+ mode : ' 0644'
11+ # - name: Update minimum gas price on config file
12+ # lineinfile:
13+ # path: '/home/{{ ansible_user }}/{{ folder }}/config/app.toml'
14+ # regexp: 'minimum-gas-prices '
15+ # line: 'minimum-gas-prices = "{{ minimum_gas_price }}"'
16+ # state: present
17+
18+ # - name: Update seeds on the config.toml file
19+ # lineinfile:
20+ # path: '/home/{{ ansible_user }}/{{ folder }}/config/config.toml'
21+ # regexp: 'seeds = ""'
22+ # line: 'seeds = "{{ seeds }}"'
23+ # state: present
24+
25+ # - name: Update the config.toml file
26+ # lineinfile:
27+ # path: '/home/{{ ansible_user }}/{{ folder }}/config/config.toml'
28+ # regexp: 'persistent_peers = ""'
29+ # line: 'persistent_peers = "{{ peers }}"'
30+ # state: present
You can’t perform that action at this time.
0 commit comments