mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 18:55:53 +00:00
17 lines
405 B
YAML
17 lines
405 B
YAML
---
|
|
# tasks file for ipaclient
|
|
|
|
- name: Import variables specific to distribution
|
|
include_vars: "{{ item }}"
|
|
with_first_found:
|
|
- vars/{{ ansible_distribution }}.yml
|
|
- 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'
|