Support include-vars.yml

This commit is contained in:
Mike Holloway committed 2025-01-02 16:24:09 -05:00
1 parent 3aa0652d26
commit bdefe4f80d
2 files changed
+10

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
---
- 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"
+2
View File
@@ -0,0 +1,2 @@
---
certbot_auto_renew_user: "root"