Skip to content
Snippets Groups Projects
Commit f5db8947 authored by Lars Beckers's avatar Lars Beckers
Browse files

fix linter errors

parent b6f56209
No related branches found
No related tags found
No related merge requests found
---
rt_enable_acmetool: false
rt_enable_nginx: true
rt_workers: 4
rt_ldap_password: "{{ lookup('passwordstore', rt_ldappass) }}"
......@@ -45,7 +45,7 @@
file:
path: /var/lib/request-tracker4/attachments
state: directory
mode: u=rwx,g=rs
mode: "u=rwx,g=rs"
owner: www-data
tags:
- rt
......
---
- name: Ensure the Postgres user exists
postgresql_user: name=www-data state=present
postgresql_user:
name: www-data
state: present
become: true
become_user: postgres
tags:
......@@ -9,7 +11,10 @@
- rt
- name: Ensure the Postgres DB exists
postgresql_db: name=rtdb owner=www-data state=present
postgresql_db:
name: rtdb
owner: www-data
state: present
become: true
become_user: postgres
tags:
......
### LDAP
Set($LDAPHost,'{{rt_ldaphost}}');
Set($LDAPUser,'{{rt_ldapuser}}');
Set($LDAPPassword,'{{lookup('passwordstore', rt_ldappass)}}');
Set($LDAPPassword,'{{ rt_ldap_password }}');
Set($LDAPBase,'{{rt_ldapbase}}');
Set($LDAPFilter, '(&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))');
Set($LDAPMapping, {Name => 'sAMAccountName', # required
......@@ -30,7 +30,7 @@ Set($ExternalSettings, {
'type' => 'ldap',
'server' => '{{rt_ldaphost}}',
'user' => '{{rt_ldapuser}}',
'pass' => '{{lookup('passwordstore', rt_ldappass)}}',
'pass' => '{{ rt_ldap_password }}',
'base' => '{{rt_ldapbase}}',
'filter' => '(&(objectClass=user)(!(objectClass=computer))(uidNumber=*)(unixHomeDirectory=*)(!(userAccountControl:1.2.840.113556.1.4.803:=2)))',
'attr_match_list' => ['Name', 'EmailAddress'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment