Open main menu

CDOT Wiki β

Changes

OPS635-lab-ansible

13 bytes added, 20:40, 12 June 2023
m
Protected "OPS635-lab-ansible": OER transfer ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite))
*Install Ansible on one of your VMs (we will refer to that as the server).
**Current installation instructions can be found [[OPS635_installation_ansible|here]].
*If you have not already done so, create an SSH key-pair for the a '''non-root user on your server''' and transfer the public portion of it to another VM (we will refer to it as the client). Ensure that you can use it to ssh to a non-root account on the client without by entering a passwordpassphrase.
*Modify the inventory file on your server to include the fully qualified domain names of client VM.
*Use the '''setup module''' to verify that your Ansible server can run plays on your client VM.