Update to 2021-07-23 11:00

master
Daniel Berteaud 3 years ago
parent 9d86a90d52
commit 21e0790949
  1. 2
      roles/repo_samba4/tasks/main.yml
  2. 11
      roles/samba/tasks/install.yml

@ -13,5 +13,5 @@
description: Samba4 repo from TranquiIT
baseurl: http://samba.tranquil.it/centos$releasever/{{ samba_major_version }}/
gpgcheck: True
gpgkey: https://samba.tranquil.it/RPM-GPG-KEY-TISSAMBA-7
gpgkey: https://samba.tranquil.it/RPM-GPG-KEY-TISSAMBA-{{ ansible_distribution_major_version }}
tags: repo,samba

@ -9,6 +9,11 @@
when: samba_role == 'dc' or samba_role == 'rodc'
tags: samba
- name: Update ldb
yum: name=ldb-tools state=latest
when: samba_role == 'dc' or samba_role == 'rodc'
tags: samba
# sssd-libwbclient breaks DC so only install on members
- name: Install members components
yum: name=sssd-libwbclient
@ -54,6 +59,8 @@
- samba_role == 'dc'
- not samba_dc_sysvol.stat.exists
register: samba_dc_join
environment:
LDB_MODULES_PATH: /usr/lib64/samba/ldb
ignore_errors: True
tags: samba
@ -79,6 +86,8 @@
- not samba_dc_sysvol.stat.exists
- samba_i_am_primary_dc == True
- samba_dc_join.rc != 0
environment:
LDB_MODULES_PATH: /usr/lib64/samba/ldb
tags: samba
- name: Join the domain (as RODC)
@ -92,5 +101,7 @@
when:
- samba_role == 'rodc'
- not samba_dc_sysvol.stat.exists
environment:
LDB_MODULES_PATH: /usr/lib64/samba/ldb
tags: samba

Loading…
Cancel
Save