Skip to content

Commit

Permalink
Fix error in inventory file: SSH key is host specific
Browse files Browse the repository at this point in the history
  • Loading branch information
bertvv committed Oct 6, 2023
1 parent 250b3c7 commit 879d880
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 02-config-mgmt.md
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,11 @@ and run `vagrant up srv100`
servers:
vars:
ansible_user: vagrant
ansible_ssh_private_key_file: ../.vagrant/machines/srv100/virtualbox/private_key
ansible_become: true
hosts:
srv100:
ansible_host: 172.16.128.100
ansible_ssh_private_key_file: ../.vagrant/machines/srv100/virtualbox/private_key
```

## Connecting to managed hosts
Expand Down

0 comments on commit 879d880

Please sign in to comment.