...
While still on the root directory of the Item's source, create an inventory.yml
file describing the VM you want to configure. Take the example below, but make sure to replace values commented on value with your own VM IP and SSH private key details.:
Code Block | ||
---|---|---|
| ||
--- ewcloud: hosts: ssh_bastion: ansible_python_interpreter: /usr/bin/python3 ansible_host: 135.196.111.255 # <- REPLACE WITH CORRECT PUBLIC IP OF TARGET HOST ansible_ssh_private_key_file: ~/.ssh/id_rsa # REPLACE WITH CORRECT PATH TO PRIVATE KEY IN LOCALHOST ansible_user: cloud-user ansible_ssh_common_args: -o StrictHostKeyChecking=accept-new |
...