mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-06-10 10:45:55 +00:00
19 lines
573 B
YAML
19 lines
573 B
YAML
---
|
|
# tasks file for ipaserver
|
|
|
|
- name: Import variables specific to distribution
|
|
include_vars: "{{ item }}"
|
|
with_first_found:
|
|
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
|
|
- "vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
|
|
- "vars/{{ ansible_distribution }}.yml"
|
|
- "vars/default.yml"
|
|
|
|
- name: Install IPA server
|
|
include: tasks/install.yml
|
|
when: state|default('present') == 'present'
|
|
|
|
- name: Uninstall IPA server
|
|
include: tasks/uninstall.yml
|
|
when: state|default('present') == 'absent'
|