chore: jinja2 spacing, variable naming
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
- name: Ensure config attributes are configured
|
||||
community.general.ldap_attrs:
|
||||
dn: "{{ openldap_config_dn }}"
|
||||
attributes: "{{ { entry.key : entry.value } }}"
|
||||
attributes: "{{ {entry.key: entry.value} }}"
|
||||
state: exact
|
||||
server_uri: "{{ openldap_socket_url }}"
|
||||
loop: "{{ openldap_config_attributes | dict2items }}"
|
||||
@@ -13,7 +13,7 @@
|
||||
- name: Ensure config db attributes are configured
|
||||
community.general.ldap_attrs:
|
||||
dn: "{{ openldap_config_db_dn }}"
|
||||
attributes: "{{ { entry.key: entry.value } }}"
|
||||
attributes: "{{ {entry.key: entry.value} }}"
|
||||
state: exact
|
||||
server_uri: "{{ openldap_socket_url }}"
|
||||
loop: "{{ openldap_config_db_attributes | dict2items }}"
|
||||
|
||||
@@ -22,4 +22,3 @@
|
||||
{{ openldap_container_restart_policy | default(omit, true) }}
|
||||
healthcheck: "{{ openldap_container_healthcheck | default(omit, true) }}"
|
||||
state: "{{ openldap_container_state }}"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
- name: Ensure additional schemas are mapped to container
|
||||
ansible.builtin.set_fact:
|
||||
openldap_init_container_volumes: >-2
|
||||
{{ openldap_init_container_volumes + [ schema_mount ] }}
|
||||
{{ openldap_init_container_volumes + [schema_mount] }}
|
||||
vars:
|
||||
schema_file: "{{ openldap_schema_path }}/{{ schema.name }}.ldif"
|
||||
schema_mount: >-2
|
||||
|
||||
Reference in New Issue
Block a user