Ansible playbooks and roles for the ICON Blockchain
To work with this repo, you need to install
meta
to pull in sub-repos
sudo apt install nodejs
npm i -g meta
meta git clone . # at the base of this repo
pip install --user ansible
ansible-playbook <ansible playbook yml>\
--inventory='X.X.X.X,' \
--user=ubuntu \
--become-method=sudo \
--become \
--forks=5 \
--private-key='~/.ssh/XXX'
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'
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.