Browse Source

Initial playbook works

Fred Damstra [io2] 4 năm trước cách đây
mục cha
commit
d5af49a9f1
1 tập tin đã thay đổi với 14 bổ sung0 xóa
  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
+```
+
+