Skip to content

Commit 8ca6d54

Browse files
author
angudadevops
authored
Kubernetes on AWS
1 parent 62ce5f6 commit 8ca6d54

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎ansible/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
- Prerequisites
44
- SSH trust setup from your local vm to remote hosts or use remote host private_key
5-
- ssh-keygen -b 2048 -t rsa -f /root/.ssh/id_rsa -q -N ""
5+
-
6+
```
7+
ssh-keygen -b 2048 -t rsa -f /root/.ssh/id_rsa -q -N ""
68
ssh anguda@$host | sudo -S mkdir /root/.ssh
79
ssh anguda@$host | sudo -S touch /root/.ssh/authorized_keys
810
ssh anguda@$host | sudo -S apt install git ansible vim sshpass openssh-server -y
911
cat /root/.ssh/id_rsa.pub | sshpass -p k8s123 ssh root@$host "cat >> /root/.ssh/authorized_keys"
10-
12+
```
1113
1214
1315
This directory helps you to install kubernetes cluster with ansible playbooks. Please make sure to pass inventory file for each playbooks

0 commit comments

Comments
 (0)