mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-08-04 07:37:20 +02:00
Update to 2022-08-29 11:00
This commit is contained in:
16
roles/linstor_controller/tasks/facts.yml
Normal file
16
roles/linstor_controller/tasks/facts.yml
Normal file
@@ -0,0 +1,16 @@
|
||||
---
|
||||
|
||||
# Load distribution specific variables
|
||||
- include_vars: "{{ item }}"
|
||||
with_first_found:
|
||||
- "{{ role_path }}/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
||||
- "{{ role_path }}/vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
|
||||
- "{{ role_path }}/vars/{{ ansible_distribution }}.yml"
|
||||
- "{{ role_path }}/vars/{{ ansible_os_family }}.yml"
|
||||
tags: drbd
|
||||
|
||||
- name: Check the state of the service
|
||||
service_facts:
|
||||
register: linctl_service
|
||||
tags: drbd
|
||||
|
Reference in New Issue
Block a user