mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-04-20 15:04:57 +02:00
Optimized debugging
This commit is contained in:
parent
2ca000795d
commit
33a8d8b579
@ -46,10 +46,13 @@
|
|||||||
);
|
);
|
||||||
when: ldap_check.query_result | length == 0
|
when: ldap_check.query_result | length == 0
|
||||||
|
|
||||||
- name: "Check existing LDAP sources"
|
- name: Check if LDAP source exists
|
||||||
community.postgresql.postgresql_query:
|
community.postgresql.postgresql_query:
|
||||||
db: openproject
|
db: "{{ database_name }}"
|
||||||
login_user: postgres
|
login_user: "{{ database_username }}"
|
||||||
|
login_password: "{{ database_password }}"
|
||||||
|
login_host: "127.0.0.1"
|
||||||
|
login_port: "{{ database_port }}"
|
||||||
query: "SELECT id, name FROM ldap_auth_sources"
|
query: "SELECT id, name FROM ldap_auth_sources"
|
||||||
register: ldap_entries
|
register: ldap_entries
|
||||||
when: enable_debug | bool
|
when: enable_debug | bool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user