projects
/
noc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Replace vmname with hostname
[noc.git]
/
ansible
/
roles
/
vm
/
install
/
meta
/
main.yml
diff --git
a/ansible/roles/vm/install/meta/main.yml
b/ansible/roles/vm/install/meta/main.yml
index
6f6bcf8
..
0822937
100644
(file)
--- a/
ansible/roles/vm/install/meta/main.yml
+++ b/
ansible/roles/vm/install/meta/main.yml
@@
-1,6
+1,6
@@
---
dependencies:
- role: preseed
---
dependencies:
- role: preseed
- hostname: "{{ vmname }}"
+ hostname: "{{ hostname }}"
# TODO: Find a way to eliminate the duplicate defaults.
# TODO: Find a way to eliminate the duplicate defaults.
- ssh_keys: "{{ hostvars[vmname].ssh_keys | default(noc_ssh_keys) }}"
+ ssh_keys: "{{ hostvars[hostname].ssh_keys | default(noc_ssh_keys) }}"