Skip to content

Commit e64123d

Browse files
committed
update
1 parent 34195ea commit e64123d

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

akash.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
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

group_vars/akash_mainnet.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
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: ''
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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

0 commit comments

Comments
 (0)