docs
This commit is contained in:
1 parent
c49055d4dd
commit
0cf834f8fe
2 files changed
+12
-5
No files matched your search
+5
-2
@@ -40,12 +40,15 @@ console, not SSH:
|
||||
|
||||
```bash
|
||||
cp inventory.example.yml inventory.yml
|
||||
ansible-playbook bootstrap.yml # root already has your key
|
||||
ansible-playbook bootstrap.yml -k # root password login (needs sshpass)
|
||||
ansible-playbook bootstrap.yml
|
||||
# custom key or username:
|
||||
ansible-playbook bootstrap.yml -e bootstrap_ssh_public_key_file=~/.ssh/vpnhub.pub
|
||||
```
|
||||
|
||||
It prompts for the root SSH password up front (install `sshpass` on the
|
||||
control node for password auth). If root already logs in with your key,
|
||||
just press Enter at the prompt.
|
||||
|
||||
Everything after this runs as `ansible` (already the inventory example's
|
||||
default).
|
||||
|
||||
|
||||
Reference in new issue
Block a user