You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by is...@apache.org on 2022/08/10 23:03:50 UTC
[airavata-custos] branch berametal updated (dce0f763 -> 29c5b4d9)
This is an automated email from the ASF dual-hosted git repository.
isjarana pushed a change to branch berametal
in repository https://gitbox.apache.org/repos/asf/airavata-custos.git
from dce0f763 Merge pull request #292 from abhinav7sinha/baremetal-integration-services
new ca50e832 custos ansible scripts
new be363104 mysql script #289
new 5121d420 fix typo
new ca6ed10f scripts for kafka and zookeeper #289
new a9a8ed81 templates for application.properties #289
new d2be924e update custos main playbook to copy template properties #289
new 5a4a8757 scripts for keycloak, postgresql, consul and vault
new c06a1a10 custos.yml final changes #289
new 49dc8418 encrypted passwords #289
new ab965ce8 change unresponsive vm for keycloak #289
new 810feea9 nginx scripts #289
new 92d714bc fix custos template #289
new 3f7cad4b nginx script fix #289
new f23c01bd add ASF license info #289
new 9c2a6968 update readme with debug option for ansible command #289
new a57198d3 convert ssl certs to p12 format #289
new 2e839772 Merge branch 'baremetal-integration-services' into ansible-baremetal merge pom fix to current ansible changes.
new b8c4a737 add scripts to generate pkcs12 certs #289
new 60e5e931 test truststores
new 134d0276 trustostores for test env #289
new 3af1e551 custos bm test #289
new bd602777 set up ssl with nginx #289
new a675da3a password protected truststores
new 134fef5d updated keystore passwords #289
new fd2371cd update truststore #289
new 669cc44a update truststore - created manually #289
new 358c20eb config changes #289
new 1b912a1e Additional logging messages
new d6251e33 revert logging change #289
new f6969780 kakfka broker unavailable error fix #289
new d603e72e update keycloak server url in properties #289
new 3576c47c keycloak nginx config update #289
new 63176306 nginx config changes for keycloak #289
new ea9efeaa update playbook to start Custos core and integration systemd services
new 5f4781a4 fix playbook task to start custos core and integration services #289
new dfa7a8cb update host_vars and group_vars structure #289
new bdf666f3 nginx setup script #289
new e39f37ea update keycloak_vhost_servername in config #289
new 5050077a add new role for mysql db creation #289
new f47186e5 fix ansible script to create db
new 6e98e23a adding README #289
new d9870594 update kafka server properties #289
new b73e24fc remove hardcoded domains from vars file #289
new 660e8e56 updated main repo in vars #289
new 7cc80afc update vars #289
new dcbc0c94 application properties put in vars #289
new 6ef200ed fix special char in vars #289
new a46dda29 move variables to vault.yml #289
new 13e92fc8 fix custos host_name #289
new 65cdbf5b encrypt sensitive info #289
new 29c5b4d9 Merge pull request #290 from abhinav7sinha/ansible-baremetal
The 682 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
ansible/.gitignore | 1 +
ansible/README.md | 157 +++++++
ansible/ansible.cfg | 2 +
.travis.yml => ansible/custos.yml | 35 +-
ansible/inventories/test/group_vars/all/vars.yml | 75 ++++
ansible/inventories/test/group_vars/all/vault.yml | 345 +++++++++++++++
.../inventories/test/group_vars/database/vars.yml | 27 +-
.../inventories/test/host_vars/custos/vars.yml | 23 +-
.../inventories/test/host_vars/hashicorp/vars.yml | 23 +-
.../inventories/test/host_vars/keycloak/vars.yml | 23 +-
.../inventories/test/host_vars/testcustos/vars.yml | 23 +-
.travis.yml => ansible/inventories/test/hosts.yml | 33 +-
.travis.yml => ansible/requirements.txt | 26 +-
.../roles/consul/handlers/main.yml | 26 +-
ansible/roles/consul/tasks/main.yml | 64 +++
ansible/roles/consul/templates/consul.config.j2 | 14 +
ansible/roles/consul/templates/consul.service.j2 | 10 +
.../roles/custos/handlers/main.yml | 19 +-
ansible/roles/custos/tasks/main.yml | 122 ++++++
.../custos-core-services/application.properties.j2 | 88 ++++
.../custos-core-services/bootstrap.properties.j2 | 16 +-
.../templates/custos-core-services/config.yml.j2 | 0
.../application.properties.j2 | 37 ++
.../custos-integration-services/config.yml.j2 | 0
.../roles/database/defaults/main.yml | 19 +-
.../roles/database/handlers/main.yml | 26 +-
.../roles/database/tasks/create_db.yml | 24 +-
.../roles/database/tasks/keycloak.yml | 30 +-
ansible/roles/database/tasks/main.yml | 74 ++++
ansible/roles/database/tasks/secure_install.yml | 51 +++
ansible/roles/database/templates/my.cnf.j2 | 4 +
.../roles/database/vars/main.yml | 42 +-
.../roles/env_setup/tasks/main.yml | 28 +-
.../roles/kafka/defaults/main.yml | 37 +-
.../roles/kafka/handlers/main.yml | 33 +-
ansible/roles/kafka/tasks/main.yml | 139 ++++++
.../kafka/templates/kafka-rest-proxy.service.j2 | 14 +
.../roles/kafka/templates/kafka-rest.properties.j2 | 25 ++
ansible/roles/kafka/templates/kafka.service.j2 | 14 +
ansible/roles/kafka/templates/server.properties.j2 | 201 +++++++++
ansible/roles/keycloak/README.md | 12 +
ansible/roles/keycloak/defaults/main.yml | 46 ++
.../roles/keycloak/handlers/main.yml | 22 +-
ansible/roles/keycloak/tasks/main.yml | 267 ++++++++++++
.../roles/keycloak/templates/basic-vhost.conf.j2 | 9 +
.../keycloak/templates/keycloak-hacluster-init.j2 | 49 +++
.../keycloak/templates/keycloak-standalone-init.j2 | 46 ++
ansible/roles/keycloak/templates/module.j2 | 12 +
.../roles/keycloak/templates/standalone-ha.xml.j2 | 484 ++++++++-------------
.../roles/keycloak/templates/standalone.xml.j2 | 440 +++++++------------
ansible/roles/keycloak/templates/vhost.conf.j2 | 52 +++
.../roles/nginx/handlers/main.yml | 23 +-
ansible/roles/nginx/tasks/main.yml | 127 ++++++
ansible/roles/nginx/templates/custos/index.html.j2 | 8 +
ansible/roles/nginx/templates/custos/nginx.conf.j2 | 85 ++++
ansible/roles/nginx/templates/custos/site.conf.j2 | 15 +
.../roles/nginx/templates/hashicorp/index.html.j2 | 8 +
.../roles/nginx/templates/hashicorp/nginx.conf.j2 | 85 ++++
.../roles/nginx/templates/hashicorp/site.conf.j2 | 15 +
.../roles/nginx/templates/keycloak/index.html.j2 | 8 +
.../roles/nginx/templates/keycloak/nginx.conf.j2 | 85 ++++
.../roles/nginx/templates/keycloak/site.conf.j2 | 33 ++
ansible/roles/pkcs12/tasks/main.yml | 46 ++
.travis.yml => ansible/roles/vault/tasks/main.yml | 45 +-
ansible/roles/vault/templates/vault.hcl.j2 | 47 ++
.../roles/zookeeper/handlers/main.yml | 26 +-
ansible/roles/zookeeper/tasks/main.yml | 63 +++
ansible/roles/zookeeper/templates/java.env.j2 | 1 +
ansible/roles/zookeeper/templates/zoo.cfg.j2 | 28 ++
.../roles/zookeeper/templates/zookeeper.service.j2 | 16 +
.../roles/zookeeper/vars/main.yml | 31 +-
.../src/main/dist/conf/application.properties | 172 ++++----
.../src/main/dist/conf/bootstrap.properties | 50 +--
.../dist/conf/keycloak-client-truststore.pkcs12 | Bin 1687 -> 5709 bytes
.../main/dist/conf/vault-client-truststore.pkcs12 | Bin 1687 -> 5709 bytes
.../src/main/resources/application.properties | 172 ++++----
.../src/main/resources/bootstrap.properties | 50 +--
.../resources/keycloak-client-truststore.pkcs12 | Bin 1687 -> 5709 bytes
.../main/resources/vault-client-truststore.pkcs12 | Bin 1687 -> 5709 bytes
.../services/clients/keycloak/KeycloakUtils.java | 1 -
.../clients/keycloak/auth/KeycloakAuthClient.java | 1 -
81 files changed, 3459 insertions(+), 1171 deletions(-)
create mode 100644 ansible/.gitignore
create mode 100644 ansible/README.md
create mode 100644 ansible/ansible.cfg
copy .travis.yml => ansible/custos.yml (78%)
create mode 100644 ansible/inventories/test/group_vars/all/vars.yml
create mode 100644 ansible/inventories/test/group_vars/all/vault.yml
copy .travis.yml => ansible/inventories/test/group_vars/database/vars.yml (77%)
copy .travis.yml => ansible/inventories/test/host_vars/custos/vars.yml (78%)
copy .travis.yml => ansible/inventories/test/host_vars/hashicorp/vars.yml (78%)
copy .travis.yml => ansible/inventories/test/host_vars/keycloak/vars.yml (78%)
copy custos-utilities/oidc-scripts/tenant/tm-admin-post.sh => ansible/inventories/test/host_vars/testcustos/vars.yml (55%)
copy .travis.yml => ansible/inventories/test/hosts.yml (64%)
copy .travis.yml => ansible/requirements.txt (73%)
copy .travis.yml => ansible/roles/consul/handlers/main.yml (78%)
create mode 100644 ansible/roles/consul/tasks/main.yml
create mode 100644 ansible/roles/consul/templates/consul.config.j2
create mode 100644 ansible/roles/consul/templates/consul.service.j2
copy .travis.yml => ansible/roles/custos/handlers/main.yml (78%)
create mode 100644 ansible/roles/custos/tasks/main.yml
create mode 100644 ansible/roles/custos/templates/custos-core-services/application.properties.j2
copy custos-core-services-server/src/main/dist/conf/bootstrap.properties => ansible/roles/custos/templates/custos-core-services/bootstrap.properties.j2 (63%)
copy custos-client-sdks/custos-python-sdk/__init__.py => ansible/roles/custos/templates/custos-core-services/config.yml.j2 (100%)
create mode 100644 ansible/roles/custos/templates/custos-integration-services/application.properties.j2
copy custos-client-sdks/custos-python-sdk/__init__.py => ansible/roles/custos/templates/custos-integration-services/config.yml.j2 (100%)
copy .travis.yml => ansible/roles/database/defaults/main.yml (78%)
copy .travis.yml => ansible/roles/database/handlers/main.yml (75%)
copy .travis.yml => ansible/roles/database/tasks/create_db.yml (78%)
copy .travis.yml => ansible/roles/database/tasks/keycloak.yml (54%)
create mode 100644 ansible/roles/database/tasks/main.yml
create mode 100644 ansible/roles/database/tasks/secure_install.yml
create mode 100644 ansible/roles/database/templates/my.cnf.j2
copy .travis.yml => ansible/roles/database/vars/main.yml (58%)
copy .travis.yml => ansible/roles/env_setup/tasks/main.yml (78%)
copy .travis.yml => ansible/roles/kafka/defaults/main.yml (53%)
copy .travis.yml => ansible/roles/kafka/handlers/main.yml (57%)
create mode 100644 ansible/roles/kafka/tasks/main.yml
create mode 100644 ansible/roles/kafka/templates/kafka-rest-proxy.service.j2
create mode 100644 ansible/roles/kafka/templates/kafka-rest.properties.j2
create mode 100644 ansible/roles/kafka/templates/kafka.service.j2
create mode 100644 ansible/roles/kafka/templates/server.properties.j2
create mode 100644 ansible/roles/keycloak/README.md
create mode 100644 ansible/roles/keycloak/defaults/main.yml
copy .travis.yml => ansible/roles/keycloak/handlers/main.yml (78%)
create mode 100644 ansible/roles/keycloak/tasks/main.yml
create mode 100644 ansible/roles/keycloak/templates/basic-vhost.conf.j2
create mode 100644 ansible/roles/keycloak/templates/keycloak-hacluster-init.j2
create mode 100644 ansible/roles/keycloak/templates/keycloak-standalone-init.j2
create mode 100644 ansible/roles/keycloak/templates/module.j2
copy custos-external-services-distributions/custos-keycloak/src/main/resources/standalone-ha.xml => ansible/roles/keycloak/templates/standalone-ha.xml.j2 (60%)
copy custos-external-services-distributions/custos-keycloak/src/main/resources/standalone.xml => ansible/roles/keycloak/templates/standalone.xml.j2 (60%)
create mode 100644 ansible/roles/keycloak/templates/vhost.conf.j2
copy .travis.yml => ansible/roles/nginx/handlers/main.yml (78%)
create mode 100644 ansible/roles/nginx/tasks/main.yml
create mode 100644 ansible/roles/nginx/templates/custos/index.html.j2
create mode 100644 ansible/roles/nginx/templates/custos/nginx.conf.j2
create mode 100644 ansible/roles/nginx/templates/custos/site.conf.j2
create mode 100644 ansible/roles/nginx/templates/hashicorp/index.html.j2
create mode 100644 ansible/roles/nginx/templates/hashicorp/nginx.conf.j2
create mode 100644 ansible/roles/nginx/templates/hashicorp/site.conf.j2
create mode 100644 ansible/roles/nginx/templates/keycloak/index.html.j2
create mode 100644 ansible/roles/nginx/templates/keycloak/nginx.conf.j2
create mode 100644 ansible/roles/nginx/templates/keycloak/site.conf.j2
create mode 100644 ansible/roles/pkcs12/tasks/main.yml
copy .travis.yml => ansible/roles/vault/tasks/main.yml (52%)
create mode 100644 ansible/roles/vault/templates/vault.hcl.j2
copy .travis.yml => ansible/roles/zookeeper/handlers/main.yml (74%)
create mode 100644 ansible/roles/zookeeper/tasks/main.yml
create mode 100644 ansible/roles/zookeeper/templates/java.env.j2
create mode 100644 ansible/roles/zookeeper/templates/zoo.cfg.j2
create mode 100644 ansible/roles/zookeeper/templates/zookeeper.service.j2
copy .travis.yml => ansible/roles/zookeeper/vars/main.yml (60%)
mode change 100644 => 100755 custos-core-services-server/src/main/dist/conf/keycloak-client-truststore.pkcs12
mode change 100644 => 100755 custos-core-services-server/src/main/dist/conf/vault-client-truststore.pkcs12
mode change 100644 => 100755 custos-core-services-server/src/main/resources/keycloak-client-truststore.pkcs12
mode change 100644 => 100755 custos-core-services-server/src/main/resources/vault-client-truststore.pkcs12