Work around missing domain name.
This commit is contained in:
parent
16ac6d7169
commit
4fab918db9
2 changed files with 3 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
basedn: "{{ 'dc=' + ( ansible_domain | replace('^.','') | replace('.$','') | replace('.',',dc=')) }}"
|
basedn: "{{ 'dc=' + ( ansible_dns['domain'] | default('intern') | replace('^.','') | replace('.$','') | replace('.',',dc=')) }}"
|
||||||
ldap_server: sambox
|
ldap_server: ldap
|
||||||
home_server: sambox
|
home_server: homes
|
||||||
min_id_sssd: 5000
|
min_id_sssd: 5000
|
||||||
max_id_sssd: 20000
|
max_id_sssd: 20000
|
||||||
|
|
|
@ -1,7 +1,4 @@
|
||||||
---
|
---
|
||||||
- fail: msg="The machine's domain must not be empty."
|
|
||||||
when: ansible_domain | length == 0
|
|
||||||
|
|
||||||
- name: install needed packages
|
- name: install needed packages
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
|
Loading…
Add table
Reference in a new issue