mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-08 06:13:21 +00:00
When adding new members to a role, the existing members were removed. The correct behavior for the "member" action is to add those members, and substitute the existing ones. This patch fixes this behavior. Fix #409, #411, #412, #413
16 lines
443 B
YAML
16 lines
443 B
YAML
---
|
|
- name: Get Domain from server name
|
|
set_fact:
|
|
ipaserver_domain: "{{ ansible_fqdn.split('.')[1:] | join ('.') }}"
|
|
when: ipaserver_domain is not defined
|
|
|
|
- name: Set fact for realm name
|
|
set_fact:
|
|
ipaserver_realm: "{{ ipaserver_domain }} | upper"
|
|
when: ipaserver_domain is not defined
|
|
|
|
- name: Create FQDN for host01
|
|
set_fact:
|
|
host1_fqdn: "host01.{{ ipaserver_domain }}"
|
|
host2_fqdn: "host02.{{ ipaserver_domain }}"
|