mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 06:13:21 +00:00
This is not needed and will calm down ansible-lint, which is not able to handle the extra tasks folder prefix.
19 lines
637 B
YAML
19 lines
637 B
YAML
---
|
|
# tasks file for ipaclient
|
|
|
|
- name: Import variables specific to distribution
|
|
include_vars: "{{ item }}"
|
|
with_first_found:
|
|
- "{{ role_path }}/vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
|
- "{{ role_path }}/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
|
- "{{ role_path }}/vars/{{ ansible_distribution }}.yml"
|
|
- "{{ role_path }}/vars/default.yml"
|
|
|
|
- name: Install IPA client
|
|
include_tasks: install.yml
|
|
when: state|default('present') == 'present'
|
|
|
|
- name: Uninstall IPA client
|
|
include_tasks: uninstall.yml
|
|
when: state|default('present') == 'absent'
|