Ansible set up – Key Based on AWS
-
In AWS after creating ec2 instance
- enable password authentication
- change PasswordAuthentication to yes
- reload dameon and restart ssh
- create a user and make this user sudo user
- now create a key pair on acn and copy that to node(s)
- Install Ansible and we can use key based authentication
- enable password authentication
-
Scenario – 2: Lets add a new redhat node (node-2)
- Watch classroom recording
