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 (#147)

Signed-off-by: ng-bsy <[email protected]>
  • Loading branch information
ng-bsy authored Jan 23, 2024
1 parent 65ecb2f commit 7134a8c
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 7134a8c

Please sign in to comment.