This repository has been archived on 2020-05-07. You can view files and clone it, but cannot push or open issues or pull requests.
dokku-ansible-deploy/plays/lib/vars.yml

10 lines
259 B
YAML
Raw Normal View History

2020-04-13 10:49:14 +00:00
---
- name: Check if internal variables are available for loading
stat:
path: "{{ app_config_root }}/vars.yml"
register: internal_vars
- name: Load internal variables
include_vars: "{{ app_config_root }}/vars.yml"
when: internal_vars.stat.exists