public-health-ch/ansible/roles/geerlingguy.certbot/tasks/include-vars.yml
2017-06-02 12:52:15 +02:00

8 lines
300 B
YAML

---
- name: Load a variable file based on the OS type, or a default if not found.
include_vars: "{{ item }}"
with_first_found:
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
- "{{ ansible_distribution }}.yml"
- "{{ ansible_os_family }}.yml"
- "default.yml"