Adding a new host¶
First of all, define all the variables for the new host in your inventory. Then, when working with static inventories, just add the details to the inventory file by adding the new hostname to all the groups that it belongs to.
For dynamic inventories follow their specific instructions and then come back here to follow the next steps.
Adding a new host on dynamic inventories¶
This will ask for your password several times and processing will take a while. After that, your new host and its users are configured but the role-based functionality is not yet deployed.
Onve that's completed, this script will automatically trigger more scripts to be executed:
1 2 3 4