This repository contains Ansible for bulk machine onboarding on NodeOps Network by Providers. Follow the simple steps below.
- Ansible >=2.17.3
-
Get the onboarding keys from the https://testnet-providers.nodeops.network
-
Prepare ansible inventory as below when you put those each onbarding key in each machine's
onboarding_secret
ansible var with respect to the IP of the machine. make sure you're choosing correctansible_user
undervars
section[all] # <public-ip> onboarding_secret=<onboarding_secret> 10.0.0.1 onboarding_secret=xxxx # ... [all:vars] ansible_user=root
Checkout inventory-example
-
Fire in the hole
ansible-playbook onboard.yaml