diff options
Diffstat (limited to 'roles/ldap_certs/tasks')
-rw-r--r-- | roles/ldap_certs/tasks/main.yml | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/roles/ldap_certs/tasks/main.yml b/roles/ldap_certs/tasks/main.yml new file mode 100644 index 0000000..685cd79 --- /dev/null +++ b/roles/ldap_certs/tasks/main.yml @@ -0,0 +1,16 @@ +--- +- name: ldap_certs get vars + include_vars: default.yml + +- name: ldap_certs get OS vars + include_vars: '{{ item }}' + with_first_found: + - '{{ ansible_distribution }}.yml' + - default.yml + +- name: ldap_certs get host-specific vars + include_vars: '{{ item }}' + with_first_found: + - files: + - 'roles/ldap_certs/hosts/{{ ansible_fqdn }}.yml' + skip: true |