diff --git a/ansible/environments/local/group_vars/all b/ansible/environments/local/group_vars/all deleted file mode 100644 index 86918c564..000000000 --- a/ansible/environments/local/group_vars/all +++ /dev/null @@ -1,53 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You 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. -# - -whisk_version_name: local -config_root_dir: /tmp/wskconf -whisk_logs_dir: /tmp/wsklogs -docker_registry: "" -docker_dns: "" - -db_prefix: whisk_local_ - -# Auto lookup to find the db credentials -db_provider: "{{ lookup('ini', 'db_provider section=db_creds file={{ playbook_dir }}/db_local.ini') }}" -db_username: "{{ lookup('ini', 'db_username section=db_creds file={{ playbook_dir }}/db_local.ini') }}" -db_password: "{{ lookup('ini', 'db_password section=db_creds file={{ playbook_dir }}/db_local.ini') }}" -db_protocol: "{{ lookup('ini', 'db_protocol section=db_creds file={{ playbook_dir }}/db_local.ini') }}" -db_host: "{{ lookup('ini', 'db_host section=db_creds file={{ playbook_dir }}/db_local.ini') }}" -db_port: "{{ lookup('ini', 'db_port section=db_creds file={{ playbook_dir }}/db_local.ini') }}" - -# API GW connection configuration -apigw_auth_user: "" -apigw_auth_pwd: "" -apigw_host_v2: "http://{{ groups['apigateway']|first }}:{{apigateway.port.api}}/v2" - -controller_arguments: '-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.port=1098' -invoker_arguments: "{{ controller_arguments }}" - -invoker_allow_multiple_instances: true - -# Set kafka topic retention -kafka_heap: '512m' -kafka_topics_completed_retentionBytes: 104857600 -kafka_topics_completed_retentionMS: 300000 -kafka_topics_health_retentionBytes: 104857600 -kafka_topics_health_retentionMS: 300000 -kafka_topics_invoker_retentionBytes: 104857600 -kafka_topics_invoker_retentionMS: 300000 - -env_hosts_dir: "{{ playbook_dir }}/environments/local" diff --git a/ansible/environments/local/hosts b/ansible/environments/local/hosts deleted file mode 100644 index 7b0fe4d9d..000000000 --- a/ansible/environments/local/hosts +++ /dev/null @@ -1,44 +0,0 @@ -; -; Licensed to the Apache Software Foundation (ASF) under one or more contributor -; license agreements. See the NOTICE file distributed with this work for additional -; information regarding copyright ownership. The ASF licenses this file to you -; 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. -; -; the first parameter in a host is the inventory_hostname - -; used for local actions only -ansible ansible_connection=local - -[edge] -172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local - -[controllers] -controller0 ansible_host=172.17.0.1 ansible_connection=local - -[kafkas] -kafka0 ansible_host=172.17.0.1 ansible_connection=local - -[zookeepers:children] -kafkas - -[invokers] -invoker0 ansible_host=172.17.0.1 ansible_connection=local - -; db group is only used if db_provider is CouchDB -[db] -172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local - -[redis] -172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local - -[apigateway] -172.17.0.1 ansible_host=172.17.0.1 ansible_connection=local