mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 13:32:10 +00:00
Some example playbooks do not had the parameter `ipaadmin_password` set, and some had a different value than the standard value "SomeADMINpassword". This patch fixes this difference in all example playbooks.
24 lines
764 B
YAML
24 lines
764 B
YAML
---
|
|
- name: Add topology segments
|
|
hosts: ipaserver
|
|
become: true
|
|
gather_facts: false
|
|
|
|
vars:
|
|
ipatopology_segments:
|
|
- {suffix: domain, left: replica1.test.local, right: replica2.test.local}
|
|
- {suffix: domain, left: replica2.test.local, right: replica3.test.local}
|
|
- {suffix: domain, left: replica3.test.local, right: replica4.test.local}
|
|
- {suffix: domain+ca, left: replica4.test.local, right: replica1.test.local}
|
|
|
|
tasks:
|
|
- name: Add topology segment
|
|
ipatopologysegment:
|
|
ipaadmin_password: SomeADMINpassword
|
|
suffix: "{{ item.suffix }}"
|
|
name: "{{ item.name | default(omit) }}"
|
|
left: "{{ item.left }}"
|
|
right: "{{ item.right }}"
|
|
state: checked
|
|
loop: "{{ ipatopology_segments | default([]) }}"
|