195245b98e
Moved template file locations to the correct role. Corrected syntax error in deploy.yaml. Removed "templates/" path from template entires as it is not required when using a role. Added fact collection into roles where required as passing vars between roles does not seem clean nor maintainable in the long run.
17 lines
369 B
Django/Jinja
17 lines
369 B
Django/Jinja
{
|
|
"availability_zone": "",
|
|
"files": [
|
|
{
|
|
"content_path": "/content/0000",
|
|
"path": "/etc/network/interfaces"
|
|
}
|
|
],
|
|
"hostname": "{{item.split(',')[10]}}",
|
|
"name": "{{item.split(',')[10]}}",
|
|
"meta": {},
|
|
"public_keys": {
|
|
"mykey": "{{ ssh_public_key }}"
|
|
},
|
|
"uuid": "{{item.split(',')[9]}}"
|
|
}
|