-
Notifications
You must be signed in to change notification settings - Fork 51
ECS 1.5.0 changes #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
ECS 1.5.0 changes #110
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
aad4bdb
ECS changes
clevesque 6d8517b
Default ecs_nodes to empty [] when not specified
clevesque 04498b3
Default ecs_nodes to empty [] when not specified
clevesque 1bd4f3e
Fix for external auth when none desired
clevesque e016efc
autotls pk any path
clevesque 98a2dcd
refactor vars in external_auth
clevesque 5297a94
fixes ext_auth, pvc_ecs preq
clevesque c4392a1
TODO auto tls not working
clevesque 98c6249
Fix IPA verfiy when ecs
clevesque 17f9d80
Fix for ECS 1.5.0 and higher
clevesque File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -162,3 +162,4 @@ dmypy.json | |
| # Cython debug symbols | ||
| cython_debug/ | ||
|
|
||
| .DS_Store | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,3 +16,4 @@ | |
|
|
||
| host_ssh_username: root | ||
| host_ssh_password: cloudera | ||
| sudoerUser: centos | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Copyright 2023 Cloudera, Inc. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| --- | ||
|
|
||
| default_free_ipa_role_mappings: | ||
| - group: admins | ||
| roles: [ ROLE_ADMIN ] | ||
| - group: auditors | ||
| roles: [ ROLE_AUDITOR ] | ||
| - group: users | ||
| roles: [ ROLE_USER ] | ||
|
|
||
| cloudera_manager_external_auth: | ||
| provider: "FreeIPA" | ||
| external_first: no | ||
| external_only: no | ||
| external_set: yes | ||
| role_mappings: "{{ default_free_ipa_role_mappings }}" | ||
|
|
||
| auth_providers: | ||
| FreeIPA: | ||
| type: LDAP | ||
| ldap_url: "{{ ipa_ldap_url }}" | ||
| ldap_base_dn: | ||
| ldap_bind_user_dn: "{{ ipa_ldap_user_bind_dn }}" | ||
| ldap_bind_password: "{{ ipa_ldap_user_bind_password }}" | ||
| ldap_search_base: | ||
| user: "{{ ipa_ldap_user_search_base }}" | ||
| group: "{{ ipa_ldap_group_search_base }}" | ||
| ldap_search_filter: | ||
| user: "{{ ipa_ldap_user_search_filter }}" | ||
| group: "{{ ipa_ldap_user_group_filter }}" |
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. All of the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,44 @@ | ||
| # Copyright 2023 Cloudera, Inc. | ||
| # | ||
| # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| # you may not use this file except in compliance with the License. | ||
| # You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| --- | ||
|
|
||
| - name: Create databases | ||
| mysql_db: | ||
| name: "{{ databases[service].name }}" | ||
| encoding: "{{ service | cloudera.cluster.get_database_encoding_mysql }}" | ||
| collation: "{{ service | cloudera.cluster.get_database_collation_mysql }}" | ||
| become: yes | ||
| loop: "{{ databases }}" | ||
| loop_control: | ||
| loop_var: service | ||
| delegate_to: "{{ databases[service].host }}" | ||
| connection: ssh | ||
| when: databases[service].host in groups.db_server | ||
|
|
||
| - name: Create database users | ||
| mysql_user: | ||
| name: "{{ databases[service].user }}" | ||
| password: "{{ databases[service].password }}" | ||
| update_password: always | ||
| host: '%' | ||
| priv: "{{ databases[service].name }}.*:ALL" | ||
| no_log: yes | ||
| become: yes | ||
| loop: "{{ databases }}" | ||
| loop_control: | ||
| loop_var: service | ||
| delegate_to: "{{ databases[service].host }}" | ||
| connection: ssh | ||
| when: databases[service].host in groups.db_server |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.