Skip to content

Commit

Permalink
Copy security config when: auth_type == 'oidc' or copy_custom_securit…
Browse files Browse the repository at this point in the history
…y_configs

Signed-off-by: ng-bsy <[email protected]>
  • Loading branch information
ng-bsy authored Nov 16, 2023
1 parent 29bc528 commit 38ff439
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/linux/opensearch/tasks/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
group: "{{ os_user }}"
mode: 0600
force: true
when: auth_type == 'oidc'
when: auth_type == 'oidc' or copy_custom_security_configs

- name: Security Plugin configuration | Prepare the opensearch security configuration file
ansible.builtin.command: sed -i 's/searchguard/plugins.security/g' {{ os_conf_dir }}/opensearch.yml
Expand Down

0 comments on commit 38ff439

Please sign in to comment.