There was an error while loading. Please reload this page.
1 parent 62ce5f6 commit 8ca6d54Copy full SHA for 8ca6d54
ansible/README.md
@@ -2,12 +2,14 @@
2
3
- Prerequisites
4
- 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 ""
+ -
6
+ ```
7
+ ssh-keygen -b 2048 -t rsa -f /root/.ssh/id_rsa -q -N ""
8
ssh anguda@$host | sudo -S mkdir /root/.ssh
9
ssh anguda@$host | sudo -S touch /root/.ssh/authorized_keys
10
ssh anguda@$host | sudo -S apt install git ansible vim sshpass openssh-server -y
11
cat /root/.ssh/id_rsa.pub | sshpass -p k8s123 ssh root@$host "cat >> /root/.ssh/authorized_keys"
-
12
13
14
15
This directory helps you to install kubernetes cluster with ansible playbooks. Please make sure to pass inventory file for each playbooks
0 commit comments