TASK [main_software : Fetch environment variables] ************************************
objc[12816]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called.
objc[12816]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. We cannot safely call it or ignore it in the fork() child process. Crashing instead. Set a breakpoint on objc_initializeAfterForkError to debug.
nano .bash_profile
export OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES
env
hosts
file from hosts.example
(mv hosts.example hosts
) and adjust to your needs. Each host should represent each BlockScout instance you want to deploy. hosts
file with one BlockScout instance will look like:[group]
is a group name, which will be interpreted as a prefix
for all created resources and host
is a name of BlockScout instance.blockscout.yml.example
and all.yml.example
config template files in host_vars
folder into single config file with the same name as in hosts
file:infrastructure.yml.example
and all.yml
while deploying the BlockScout infrastructure, you can simply add the blockscout.yml.example
to the merged file: cat host_vars/blockscout.yml.example >> host_vars/host.yml
blockscout.yml.example
and all.yml.example
config template files in group_vars
folder into single config file with the same name as group name in hosts
file:infrastructure.yml.example
and all.yml
while deploying the BlockScout infrastructure, you can simply add the blockscout.yml.example
to the merged file: cat group_vars/blockscout.yml.example >> group_vars/host.yml
group_vars/all.yml
file. ansible-playbook deploy_software.yml