Access under hostvars

This commit is contained in:
Luke Murphy 2020-04-14 14:00:14 +02:00
parent 313b18faf3
commit ae7740fce4
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -44,11 +44,11 @@
set_fact:
config:
{
"vars": "{{ lookup('vars', 'vars', default=[]) }}",
"db": "{{ lookup('vars', 'db', default=[]) }}",
"env": "{{ lookup('vars', 'env', default=[]) }}",
"volumes": "{{ lookup('vars', 'volumes', default=[]) }}",
"templates": "{{ lookup('vars', 'templates', default=[]) }}",
"vars": "{{ lookup('vars', 'hostvars.vars', default=[]) }}",
"db": "{{ lookup('vars', 'hostvars.db', default=[]) }}",
"env": "{{ lookup('vars', 'hostvars.env', default=[]) }}",
"volumes": "{{ lookup('vars', 'hostvars.volumes', default=[]) }}",
"templates": "{{ lookup('vars', 'hostvars.templates', default=[]) }}",
"vault": "{{ vault_include.ansible_facts }}",
}
dokku: