Preparation
Before you run any Ansible playbook manually connect to your server with ssh to answer the authenticity prompt and save the server to known_hosts. You need to know the default user and should have already configured setup_ansible_user in your host_vars file for each server. Using the normal default user of root and our example server:
While you’re logged in check for and install updates, then reboot the server:
Now you’re ready to run the setup playbook.