Quantcast
Channel: Is it possible to / how would one include vars files from other vars files? - Server Fault
Browsing latest articles
Browse All 2 View Live

Answer by Michael Hampton for Is it possible to / how would one include vars...

Why not? I do this all the time in roles/whatever/tasks/main.yml with include_vars: - include_vars: whatever_os_{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml The variables are...

View Article



Is it possible to / how would one include vars files from other vars files?

I know it's possible to include tasks / handlers files in other similar files via lines like the following - name: Configure django include: django.yml - name: Configure nginx reverse proxy include:...

View Article
Browsing latest articles
Browse All 2 View Live




Latest Images