mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-03-26 21:33:05 +00:00
The support for external cert files is not complete yet. Please have a look at the example inventory file inventory/hosts.replica and also the install and uninstall playbook files install-replica.yml and uninstall-replica.yml
19 lines
576 B
YAML
19 lines
576 B
YAML
---
|
|
# tasks file for ipareplica
|
|
|
|
- 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 replica
|
|
include: tasks/install.yml
|
|
when: state|default('present') == 'present'
|
|
|
|
- name: Uninstall IPA replica
|
|
include: tasks/uninstall.yml
|
|
when: state|default('present') == 'absent'
|