This commit is contained in:
parent
66c770fc50
commit
5bb861caa4
@ -1,4 +1,16 @@
|
||||
---
|
||||
- include_vars: "{{ var_files }}"
|
||||
vars:
|
||||
var_files: "{{ lookup('first_found', params, errors='ignore') }}"
|
||||
params:
|
||||
files:
|
||||
- "{{ ansible_lsb.id | default('') | lower }}.yml"
|
||||
- "{{ ansible_os_family | lower }}-{{ ansible_distribution_major_version }}.yml"
|
||||
- "{{ ansible_os_family | lower }}.yml"
|
||||
paths:
|
||||
- "vars"
|
||||
when: var_files
|
||||
|
||||
- include_tasks: install.yml
|
||||
- include_tasks: config.yml
|
||||
- name: Check where admin user already exists
|
||||
|
3
vars/redhat-8.yml
Normal file
3
vars/redhat-8.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
__mongodb_ansible_deps:
|
||||
- python3-pymongo
|
Loading…
Reference in New Issue
Block a user