-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcluster_init.yml
More file actions
30 lines (21 loc) · 945 Bytes
/
cluster_init.yml
File metadata and controls
30 lines (21 loc) · 945 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Playbook runs basic setup and configuration for clusterhat cluster using USBBOOT images. Follow steps below.
# 1. Image controller SD with desired clusterctrl image
# 2. Touch `ssh` in `boot` vol (/Volumes/boot on MacOS)
# 3. Boot controller from SD
# 4. ssh to controller using default username/pw and change hostname
# 4. Copy pi user ID `ssh-copy-id [pi user id file] pi@[hostname]`/ dummy user id
# 5. Run playbook with one of the following:
# ansible-playbook -u pi --private-key ~/.ssh/pi_id_ecdsa new_host_init.yml -K
# ansible-playbook -u dummy --private-key ~/.ssh/dummy_id_ed25529 cluster_init.yml -K
# or
# ansible-playbook -u jehan --private-key ~/.ssh/jehan_personal_id_ecdsa new_host_init.yml -K
---
# - hosts: displaypi.local,20-size.local,artpi.local
- hosts: 10.0.1.203
remote_user: dummy
become: yes
gather_facts: true
roles:
- role: common
tags:
- common