Skip to content

Commit

Permalink
Fixed WEEE-Open#5
Browse files Browse the repository at this point in the history
  • Loading branch information
il-palmi authored Sep 13, 2022
1 parent 75ef444 commit 413c7b2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions provisioning/elements.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
loop: "{{ ldap_persons }}"

- name: Add people to their groups
ldap_attr:
ldap_attrs:
server_uri: "ldap://{{ dirsrv_fqdn }}"
start_tls: "true"
bind_dn: "cn=root"
Expand All @@ -54,4 +54,4 @@
when: "item[0] in item[1].groups"
with_nested:
- "{{ ldap_groups }}"
- "{{ ldap_persons }}"
- "{{ ldap_persons }}"
2 changes: 1 addition & 1 deletion provisioning/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
- name: Install EPEL
yum:
name: epel-release
state: latest
state: present
when: ansible_facts['distribution_major_version'] | int > 7

# Get variables
Expand Down
8 changes: 4 additions & 4 deletions provisioning/policy.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
- name: Disable weak ciphers
ldap_attr:
ldap_attrs:
server_uri: "ldap://{{ dirsrv_fqdn }}"
start_tls: "true"
bind_dn: "cn=root"
Expand Down Expand Up @@ -137,7 +137,7 @@
tags: policy

- name: Configure ACIs
ldap_attr:
ldap_attrs:
server_uri: "ldap://{{ dirsrv_fqdn }}"
start_tls: "true"
bind_dn: "cn=root"
Expand Down Expand Up @@ -182,7 +182,7 @@
tags: policy

- name: Configure password policy
ldap_attr:
ldap_attrs:
server_uri: "ldap://{{ dirsrv_fqdn }}"
start_tls: "true"
bind_dn: "cn=root"
Expand All @@ -202,4 +202,4 @@
- { name: "passwordLockoutDuration", value: "120" }
- { name: "passwordLegacyPolicy", value: "off" }
- { name: "passwordIsGlobalPolicy", value: "on" }
tags: policy
tags: policy

0 comments on commit 413c7b2

Please sign in to comment.