Skip to content

Commit

Permalink
Default value for remote user and password changed to empty string
Browse files Browse the repository at this point in the history
  • Loading branch information
wsmirnow committed Feb 7, 2025
1 parent bb4317a commit 77d7f74
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ This role supports the following,
The Ansible role [elan.opencast_nginx](/~https://github.com/elan-ev/opencast_nginx) is recommended for this purpose.
Defining `opencast_opensearch_remote_user` and `opencast_opensearch_remote_password` will put
an Nginx virtual host reverse proxy configuration into `/etc/nginx/sites-enabled/`.
- Defaults to `None`
- Defaults to `""`
- `opencast_opensearch_remote_host`
- Reverse proxy host name.
- Defaults to `inventory_hostname`
Expand Down
4 changes: 2 additions & 2 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ opencast_opensearch_api_port: 9200
opencast_opensearch_started: false

# Reverse proxy basic auth username
opencast_opensearch_remote_user: None
opencast_opensearch_remote_user: ""

# Reverse proxy basic auth password
opencast_opensearch_remote_password: None
opencast_opensearch_remote_password: ""

# Reverse proxy hostname
opencast_opensearch_remote_host: "{{ inventory_hostname }}"
Expand Down
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@
- name: Include reverse proxy configuration tasks
ansible.builtin.include_tasks: nginx_reverse_proxy.yml
when: >-
opencast_opensearch_remote_user != None and
opencast_opensearch_remote_password != None
opencast_opensearch_remote_user != '' and
opencast_opensearch_remote_password != ''

0 comments on commit 77d7f74

Please sign in to comment.