Skip to content

insight-icon/ansible-icon-prep

Repository files navigation

ansible-icon-prep

Ansible playbooks and roles for the ICON Blockchain

To work with this repo, you need to install meta to pull in sub-repos

Prerequisites

sudo apt install nodejs 
npm i -g meta 
meta git clone . # at the base of this repo 
pip install --user ansible 

To run a playbook

ansible-playbook  <ansible playbook yml>\
--inventory='X.X.X.X,' \
--user=ubuntu \
--become-method=sudo \
--become \
--forks=5 \
--private-key='~/.ssh/XXX'

To run a role

cd <role> 
ansible all \
-m include_role \
-a name=`pwd` \
--inventory='3.95.115.166,' \
--user=ubuntu \
--become-method=sudo \
--become \
--forks=5 \
--extra-vars='{"network_name":"testnet","keystore_path":"keystore","keystore_password":"testing1."}' \
--private-key='/home/rob/.ssh/testing'

Current Status

Right now we are deciding whether to switch to an ansible galaxy based approach to replace meta, keep it the way it is, or use a combination of all approaches.

About

Ansible roles for the ICON Blockchain P-Rep nodes

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages