Pārlūkot izejas kodu

Initial playbook works

Fred Damstra [io2] 4 gadi atpakaļ
vecāks
revīzija
d5af49a9f1
1 mainītis faili ar 14 papildinājumiem un 0 dzēšanām
  1. 14 0
      Ansible/README.md

+ 14 - 0
Ansible/README.md

@@ -46,3 +46,17 @@ roles/
     monitoring/           # ""
     fooapp/               # ""
 ```
+
+## Bootstrapping
+
+1. Use raspberry pi imager to install Ubuntu LTS (20.04 at time of this writing) 64-bit.
+1. Find IP (via DHCP lease?). 
+1. Login with username ubuntu, password ubuntu. Set a new password.
+1. Add hostname to inventory.
+1. Run `ssh-copy-id ubuntu@hostname` and enter your password.
+1. Run the `initial_user.yml` task:
+```
+ansible-playbook -u ubuntu tasks/initial_users.yml --limit=k8s3
+```
+
+