This is an automated email from the ASF dual-hosted git repository. houshengbo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk.git
The following commit(s) were added to refs/heads/master by this push: new 84e906b Use Minified ASF License header in Ansible YAML files. 84e906b is described below commit 84e906bfcb73514fc8ff87f088ec2b917f20b397 Author: Matt Rutkowski <mrutk...@us.ibm.com> AuthorDate: Wed May 16 10:57:27 2018 -0500 Use Minified ASF License header in Ansible YAML files. --- actionRuntimes/actionProxy/invoke.py | 21 ++++++++++----------- ansible/apigateway.yml | 15 +-------------- ansible/boot_instances_dist.yml | 15 +-------------- ansible/controller.yml | 15 +-------------- ansible/couchdb.yml | 15 +-------------- ansible/edge.yml | 15 +-------------- ansible/initdb.yml | 15 +-------------- ansible/invoker.yml | 15 +-------------- ansible/kafka.yml | 15 +-------------- ansible/logs.yml | 15 +-------------- ansible/openwhisk.yml | 15 +-------------- ansible/postdeploy.yml | 15 +-------------- ansible/prereq.yml | 15 +-------------- ansible/prereq_build.yml | 16 +--------------- ansible/properties.yml | 15 +-------------- ansible/provision_env_dist.yml | 15 +-------------- ansible/publish.yml | 15 +-------------- ansible/recreateDesignDocs.yml | 15 +-------------- ansible/registry.yml | 15 +-------------- ansible/roles/apigateway/tasks/clean.yml | 15 +-------------- ansible/roles/apigateway/tasks/deploy.yml | 15 +-------------- ansible/roles/apigateway/tasks/main.yml | 15 +-------------- ansible/roles/cli-install/tasks/clean.yml | 15 +-------------- ansible/roles/cli-install/tasks/deploy.yml | 15 +-------------- ansible/roles/cli-install/tasks/main.yml | 15 +-------------- ansible/roles/cli/tasks/clean.yml | 15 +-------------- ansible/roles/cli/tasks/deploy.yml | 15 +-------------- ansible/roles/cli/tasks/main.yml | 15 +-------------- ansible/roles/controller/tasks/clean.yml | 15 +-------------- ansible/roles/controller/tasks/deploy.yml | 15 +-------------- .../roles/controller/tasks/join_akka_cluster.yml | 15 +-------------- ansible/roles/controller/tasks/main.yml | 15 +-------------- ansible/roles/couchdb/tasks/clean.yml | 15 +-------------- ansible/roles/couchdb/tasks/deploy.yml | 15 +-------------- ansible/roles/couchdb/tasks/main.yml | 15 +-------------- ansible/roles/docker/tasks/clean.yml | 15 +-------------- ansible/roles/docker/tasks/deploy.yml | 15 +-------------- ansible/roles/docker/tasks/main.yml | 15 +-------------- ansible/roles/invoker/tasks/clean.yml | 15 +-------------- ansible/roles/invoker/tasks/deploy.yml | 15 +-------------- ansible/roles/invoker/tasks/main.yml | 15 +-------------- ansible/roles/kafka/tasks/clean.yml | 15 +-------------- ansible/roles/kafka/tasks/deploy.yml | 15 +-------------- ansible/roles/kafka/tasks/main.yml | 15 +-------------- ansible/roles/nginx/tasks/clean.yml | 15 +-------------- ansible/roles/nginx/tasks/deploy.yml | 15 +-------------- ansible/roles/nginx/tasks/main.yml | 15 +-------------- ansible/roles/prereq/tasks/clean.yml | 15 +-------------- ansible/roles/prereq/tasks/deploy.yml | 15 +-------------- ansible/roles/prereq/tasks/main.yml | 15 +-------------- ansible/roles/redis/tasks/clean.yml | 15 +-------------- ansible/roles/redis/tasks/deploy.yml | 15 +-------------- ansible/roles/redis/tasks/main.yml | 15 +-------------- ansible/roles/registry/tasks/clean.yml | 15 +-------------- ansible/roles/registry/tasks/deploy.yml | 15 +-------------- ansible/roles/registry/tasks/gencert.yml | 15 +-------------- ansible/roles/registry/tasks/main.yml | 15 +-------------- ansible/roles/registry/tasks/publish.yml | 15 +-------------- ansible/roles/routemgmt/tasks/clean.yml | 15 +-------------- ansible/roles/routemgmt/tasks/deploy.yml | 15 +-------------- ansible/roles/routemgmt/tasks/main.yml | 15 +-------------- ansible/roles/whiskhost/tasks/addUser.yml | 15 +-------------- ansible/roles/whiskhost/tasks/clean.yml | 15 +-------------- ansible/roles/whiskhost/tasks/deploy.yml | 15 +-------------- ansible/roles/whiskhost/tasks/main.yml | 15 +-------------- ansible/roles/whiskhost/tasks/patchKernel.yml | 15 +-------------- ansible/roles/zookeeper/tasks/clean.yml | 15 +-------------- ansible/roles/zookeeper/tasks/deploy.yml | 15 +-------------- ansible/roles/zookeeper/tasks/main.yml | 15 +-------------- ansible/routemgmt.yml | 15 +-------------- ansible/setup.yml | 15 +-------------- ansible/tasks/db/checkDb.yml | 15 +-------------- ansible/tasks/db/recreateDb.yml | 15 +-------------- ansible/tasks/db/recreateDoc.yml | 15 +-------------- ansible/tasks/docker_login.yml | 15 +-------------- ansible/tasks/initdb.yml | 15 +-------------- ansible/tasks/installOpenwhiskCatalog.yml | 15 +-------------- ansible/tasks/recreateViews.yml | 15 +-------------- ansible/tasks/wipeDatabase.yml | 15 +-------------- ansible/tasks/writeWhiskProperties.yml | 15 +-------------- ansible/teardown.yml | 15 +-------------- ansible/wipe.yml | 15 +-------------- ansible/yamllint.yml | 3 +++ tools/db/moveCodeToAttachment.py | 5 ++--- 84 files changed, 96 insertions(+), 1149 deletions(-) diff --git a/actionRuntimes/actionProxy/invoke.py b/actionRuntimes/actionProxy/invoke.py index 1b3b471..fb5b72e 100755 --- a/actionRuntimes/actionProxy/invoke.py +++ b/actionRuntimes/actionProxy/invoke.py @@ -1,16 +1,5 @@ #!/usr/bin/env python """Executable Python script for testing the action proxy. - - This script is useful for testing the action proxy (or its derivatives) - by simulating invoker interactions. Use it in combination with - docker run <image> which starts up the action proxy. - Example: - docker run -i -t -p 8080:8080 dockerskeleton # locally built images may be referenced without a tag - ./invoke.py init <action source file> - ./invoke.py run '{"some":"json object as a string"}' - - For additional help, try ./invoke.py -h - /* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with @@ -27,6 +16,16 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + + This script is useful for testing the action proxy (or its derivatives) + by simulating invoker interactions. Use it in combination with + docker run <image> which starts up the action proxy. + Example: + docker run -i -t -p 8080:8080 dockerskeleton # locally built images may be referenced without a tag + ./invoke.py init <action source file> + ./invoke.py run '{"some":"json object as a string"}' + + For additional help, try ./invoke.py -h """ import os diff --git a/ansible/apigateway.yml b/ansible/apigateway.yml index 8a79747..96f32e6 100644 --- a/ansible/apigateway.yml +++ b/ansible/apigateway.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. - hosts: redis roles: diff --git a/ansible/boot_instances_dist.yml b/ansible/boot_instances_dist.yml index 96062cb..c8cb643 100644 --- a/ansible/boot_instances_dist.yml +++ b/ansible/boot_instances_dist.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # boot_instances.yml # TODO, in "with_instance" loops, the "instance" variable that is passed in gets unset, look up the proper way to do nested loops diff --git a/ansible/controller.yml b/ansible/controller.yml index e603823..6987fb5 100644 --- a/ansible/controller.yml +++ b/ansible/controller.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys Openwhisk Controllers. diff --git a/ansible/couchdb.yml b/ansible/couchdb.yml index 0d21600..00d15dd 100644 --- a/ansible/couchdb.yml +++ b/ansible/couchdb.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys a CouchDB for Openwhisk. diff --git a/ansible/edge.yml b/ansible/edge.yml index a5523fa..15e0497 100644 --- a/ansible/edge.yml +++ b/ansible/edge.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys Openwhisk Edge servers. # The edge is usually populated with NGINX serving as proxy. diff --git a/ansible/initdb.yml b/ansible/initdb.yml index f6eca76..8eaa062 100644 --- a/ansible/initdb.yml +++ b/ansible/initdb.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook will initialize the immortal DBs in the database account. # This step is usually done only once per deployment. diff --git a/ansible/invoker.yml b/ansible/invoker.yml index 05e3997..479764d 100644 --- a/ansible/invoker.yml +++ b/ansible/invoker.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys Openwhisk Invokers. diff --git a/ansible/kafka.yml b/ansible/kafka.yml index 69f47d7..f2fef40 100644 --- a/ansible/kafka.yml +++ b/ansible/kafka.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys an Openwhisk Kafka bus. diff --git a/ansible/logs.yml b/ansible/logs.yml index 30c7bd3..3858438 100644 --- a/ansible/logs.yml +++ b/ansible/logs.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook is used for utilities around logs diff --git a/ansible/openwhisk.yml b/ansible/openwhisk.yml index f198efa..41f433b 100644 --- a/ansible/openwhisk.yml +++ b/ansible/openwhisk.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys an Openwhisk stack. # It assumes you have already set up your database with the respective db provider playbook (currently cloudant.yml or couchdb.yml) diff --git a/ansible/postdeploy.yml b/ansible/postdeploy.yml index cb508eb..9822b33 100644 --- a/ansible/postdeploy.yml +++ b/ansible/postdeploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook installs additional packages after whisk has been deployed. diff --git a/ansible/prereq.yml b/ansible/prereq.yml index 941b69b..de225e3 100644 --- a/ansible/prereq.yml +++ b/ansible/prereq.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook prepares all target hosts for Openwhisk installation. # It will install all necessary packages to run Openwhisk playbooks. diff --git a/ansible/prereq_build.yml b/ansible/prereq_build.yml index a601a63..c5de2b7 100644 --- a/ansible/prereq_build.yml +++ b/ansible/prereq_build.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook prepares all target hosts for Openwhisk installation. # It will create the docker user and establish ssh keys. @@ -27,7 +14,6 @@ # Also you need to have sshpass installed. # (apt-get for ubuntu, for mac: brew install https://raw.githubusercontent.com/kadwanev/bigboybrew/master/Library/Formula/sshpass.rb) - - hosts: all:!ansible roles: - whiskhost diff --git a/ansible/properties.yml b/ansible/properties.yml index d4acdef..12d72e6 100644 --- a/ansible/properties.yml +++ b/ansible/properties.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook writes whisk.properties. diff --git a/ansible/provision_env_dist.yml b/ansible/provision_env_dist.yml index b954da6..1ec3229 100644 --- a/ansible/provision_env_dist.yml +++ b/ansible/provision_env_dist.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # provision_env.yml - name: create instances and hosts file diff --git a/ansible/publish.yml b/ansible/publish.yml index a66947b..6d983c8 100644 --- a/ansible/publish.yml +++ b/ansible/publish.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook updates CLIs and SDKs on an existing edge host. # Artifacts get built and published to NGINX. This assumes an already running egde host in an Openwhisk deployment. diff --git a/ansible/recreateDesignDocs.yml b/ansible/recreateDesignDocs.yml index 53aec6b..ef9cb8d 100644 --- a/ansible/recreateDesignDocs.yml +++ b/ansible/recreateDesignDocs.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook recreates all design documents in the whisks and the activations DB. diff --git a/ansible/registry.yml b/ansible/registry.yml index d2efb75..d44750a 100644 --- a/ansible/registry.yml +++ b/ansible/registry.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys a docker registry using a self-signed cert. diff --git a/ansible/roles/apigateway/tasks/clean.yml b/ansible/roles/apigateway/tasks/clean.yml index ecf5dc3..048783e 100644 --- a/ansible/roles/apigateway/tasks/clean.yml +++ b/ansible/roles/apigateway/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove apigateway container. diff --git a/ansible/roles/apigateway/tasks/deploy.yml b/ansible/roles/apigateway/tasks/deploy.yml index 2b83ea4..69a116a 100644 --- a/ansible/roles/apigateway/tasks/deploy.yml +++ b/ansible/roles/apigateway/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install apigateway diff --git a/ansible/roles/apigateway/tasks/main.yml b/ansible/roles/apigateway/tasks/main.yml index 8eb59ef..e5abc8c 100644 --- a/ansible/roles/apigateway/tasks/main.yml +++ b/ansible/roles/apigateway/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install apigateway in the group 'apigateway' in the environment inventory # In deploy mode it will deploy apigateway. diff --git a/ansible/roles/cli-install/tasks/clean.yml b/ansible/roles/cli-install/tasks/clean.yml index 9748ec7..1a92799 100644 --- a/ansible/roles/cli-install/tasks/clean.yml +++ b/ansible/roles/cli-install/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- - name: remove cli nginx directory diff --git a/ansible/roles/cli-install/tasks/deploy.yml b/ansible/roles/cli-install/tasks/deploy.yml index e35fa55..9c0523f 100644 --- a/ansible/roles/cli-install/tasks/deploy.yml +++ b/ansible/roles/cli-install/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Install the appropriate CLI into the ansible host for the routemgmt tasks diff --git a/ansible/roles/cli-install/tasks/main.yml b/ansible/roles/cli-install/tasks/main.yml index 0932e36..5906799 100644 --- a/ansible/roles/cli-install/tasks/main.yml +++ b/ansible/roles/cli-install/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will configure and publish the CLI tarball. # In deploy mode it will generate a new CLI config, generate a tarball and copy it to nginx. diff --git a/ansible/roles/cli/tasks/clean.yml b/ansible/roles/cli/tasks/clean.yml index eb1c47f..c677572 100644 --- a/ansible/roles/cli/tasks/clean.yml +++ b/ansible/roles/cli/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- - name: remove cli nginx directory diff --git a/ansible/roles/cli/tasks/deploy.yml b/ansible/roles/cli/tasks/deploy.yml index e67a8a8..914c5b6 100644 --- a/ansible/roles/cli/tasks/deploy.yml +++ b/ansible/roles/cli/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Tasks for handling CLI customization and publishing # diff --git a/ansible/roles/cli/tasks/main.yml b/ansible/roles/cli/tasks/main.yml index 0932e36..5906799 100644 --- a/ansible/roles/cli/tasks/main.yml +++ b/ansible/roles/cli/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will configure and publish the CLI tarball. # In deploy mode it will generate a new CLI config, generate a tarball and copy it to nginx. diff --git a/ansible/roles/controller/tasks/clean.yml b/ansible/roles/controller/tasks/clean.yml index 91ee58a..f9c7dab 100644 --- a/ansible/roles/controller/tasks/clean.yml +++ b/ansible/roles/controller/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove controller containers. diff --git a/ansible/roles/controller/tasks/deploy.yml b/ansible/roles/controller/tasks/deploy.yml index 9c5bfaf..a86f0ee 100644 --- a/ansible/roles/controller/tasks/deploy.yml +++ b/ansible/roles/controller/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install Controller in group 'controllers' in the environment # inventory diff --git a/ansible/roles/controller/tasks/join_akka_cluster.yml b/ansible/roles/controller/tasks/join_akka_cluster.yml index 83ee833..a5e6bb0 100644 --- a/ansible/roles/controller/tasks/join_akka_cluster.yml +++ b/ansible/roles/controller/tasks/join_akka_cluster.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # # Controller 'plugin' that will add the items necessary to the controller diff --git a/ansible/roles/controller/tasks/main.yml b/ansible/roles/controller/tasks/main.yml index e2422dc..d97b5bc 100644 --- a/ansible/roles/controller/tasks/main.yml +++ b/ansible/roles/controller/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install controller in group 'controllers' in the environment inventory # In deploy mode it will deploy controllers. diff --git a/ansible/roles/couchdb/tasks/clean.yml b/ansible/roles/couchdb/tasks/clean.yml index 8d53749..cf886a0 100644 --- a/ansible/roles/couchdb/tasks/clean.yml +++ b/ansible/roles/couchdb/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove CouchDB server diff --git a/ansible/roles/couchdb/tasks/deploy.yml b/ansible/roles/couchdb/tasks/deploy.yml index 69d05c3..b59c23d 100644 --- a/ansible/roles/couchdb/tasks/deploy.yml +++ b/ansible/roles/couchdb/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will run a CouchDB server on the db group diff --git a/ansible/roles/couchdb/tasks/main.yml b/ansible/roles/couchdb/tasks/main.yml index f55dbb9..c610d39 100644 --- a/ansible/roles/couchdb/tasks/main.yml +++ b/ansible/roles/couchdb/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will deploy a database server. Use the role if you want to use CouchCB locally. # In deploy mode it will start the CouchDB container. diff --git a/ansible/roles/docker/tasks/clean.yml b/ansible/roles/docker/tasks/clean.yml index 3f43212..b34086d 100644 --- a/ansible/roles/docker/tasks/clean.yml +++ b/ansible/roles/docker/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove docker diff --git a/ansible/roles/docker/tasks/deploy.yml b/ansible/roles/docker/tasks/deploy.yml index e8f496e..c731974 100644 --- a/ansible/roles/docker/tasks/deploy.yml +++ b/ansible/roles/docker/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install Docker using apt. diff --git a/ansible/roles/docker/tasks/main.yml b/ansible/roles/docker/tasks/main.yml index 8614dc6..1878ef1 100644 --- a/ansible/roles/docker/tasks/main.yml +++ b/ansible/roles/docker/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install docker on target VMs. This should only be run on ubuntu targets. # In deploy mode it will install docker using apt. diff --git a/ansible/roles/invoker/tasks/clean.yml b/ansible/roles/invoker/tasks/clean.yml index b06877a..d9b2db3 100644 --- a/ansible/roles/invoker/tasks/clean.yml +++ b/ansible/roles/invoker/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove invoker containers. diff --git a/ansible/roles/invoker/tasks/deploy.yml b/ansible/roles/invoker/tasks/deploy.yml index f1f6bed..1d50e84 100644 --- a/ansible/roles/invoker/tasks/deploy.yml +++ b/ansible/roles/invoker/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role installs invokers. diff --git a/ansible/roles/invoker/tasks/main.yml b/ansible/roles/invoker/tasks/main.yml index 3aa1c0d..f881d24 100644 --- a/ansible/roles/invoker/tasks/main.yml +++ b/ansible/roles/invoker/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install invoker in group 'invokers' in the environment inventory # In deploy mode it will deploy invokers. diff --git a/ansible/roles/kafka/tasks/clean.yml b/ansible/roles/kafka/tasks/clean.yml index f8b02a9..68e676c 100644 --- a/ansible/roles/kafka/tasks/clean.yml +++ b/ansible/roles/kafka/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove kafka and zookeeper containers. diff --git a/ansible/roles/kafka/tasks/deploy.yml b/ansible/roles/kafka/tasks/deploy.yml index 244c997..9dca8c3 100644 --- a/ansible/roles/kafka/tasks/deploy.yml +++ b/ansible/roles/kafka/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install Kafka with Zookeeper in group 'kafka' in the environment inventory diff --git a/ansible/roles/kafka/tasks/main.yml b/ansible/roles/kafka/tasks/main.yml index 7adbdc1..a23f3f4 100644 --- a/ansible/roles/kafka/tasks/main.yml +++ b/ansible/roles/kafka/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install kafka in group 'kafka' in the environment inventory # In deploy mode it will deploy kafka including zookeeper. diff --git a/ansible/roles/nginx/tasks/clean.yml b/ansible/roles/nginx/tasks/clean.yml index 42e9fbb..accf716 100644 --- a/ansible/roles/nginx/tasks/clean.yml +++ b/ansible/roles/nginx/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove nginx containers. diff --git a/ansible/roles/nginx/tasks/deploy.yml b/ansible/roles/nginx/tasks/deploy.yml index 04d321a..c0d7399 100644 --- a/ansible/roles/nginx/tasks/deploy.yml +++ b/ansible/roles/nginx/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role starts a nginx component diff --git a/ansible/roles/nginx/tasks/main.yml b/ansible/roles/nginx/tasks/main.yml index e168d12..b7d5650 100644 --- a/ansible/roles/nginx/tasks/main.yml +++ b/ansible/roles/nginx/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install nginx. # In deploy mode it will deploy an nginx server. diff --git a/ansible/roles/prereq/tasks/clean.yml b/ansible/roles/prereq/tasks/clean.yml index 267baf4..bf6a140 100644 --- a/ansible/roles/prereq/tasks/clean.yml +++ b/ansible/roles/prereq/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove prereq packages diff --git a/ansible/roles/prereq/tasks/deploy.yml b/ansible/roles/prereq/tasks/deploy.yml index 1326865..1de64ed 100644 --- a/ansible/roles/prereq/tasks/deploy.yml +++ b/ansible/roles/prereq/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install all necessary packages for Openwhisk. diff --git a/ansible/roles/prereq/tasks/main.yml b/ansible/roles/prereq/tasks/main.yml index 75aefbd..81a68ed 100644 --- a/ansible/roles/prereq/tasks/main.yml +++ b/ansible/roles/prereq/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will prepare target VMs for a whisk deployment using ansible. # In deploy mode it will install all necessary packages and programs. diff --git a/ansible/roles/redis/tasks/clean.yml b/ansible/roles/redis/tasks/clean.yml index 3994c71..e48491a 100644 --- a/ansible/roles/redis/tasks/clean.yml +++ b/ansible/roles/redis/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove redis container. diff --git a/ansible/roles/redis/tasks/deploy.yml b/ansible/roles/redis/tasks/deploy.yml index 1dfa5d1..e48c92c 100644 --- a/ansible/roles/redis/tasks/deploy.yml +++ b/ansible/roles/redis/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install redis diff --git a/ansible/roles/redis/tasks/main.yml b/ansible/roles/redis/tasks/main.yml index 6255881..32bc05d 100644 --- a/ansible/roles/redis/tasks/main.yml +++ b/ansible/roles/redis/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install redis in group 'redis' in the environment inventory # In deploy mode it will deploy redis. diff --git a/ansible/roles/registry/tasks/clean.yml b/ansible/roles/registry/tasks/clean.yml index 538625d..d4270ec 100644 --- a/ansible/roles/registry/tasks/clean.yml +++ b/ansible/roles/registry/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove registry and volumes. diff --git a/ansible/roles/registry/tasks/deploy.yml b/ansible/roles/registry/tasks/deploy.yml index 7147196..ba016b2 100644 --- a/ansible/roles/registry/tasks/deploy.yml +++ b/ansible/roles/registry/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install a docker registry. If the registry existed, it will try to recycle its images. diff --git a/ansible/roles/registry/tasks/gencert.yml b/ansible/roles/registry/tasks/gencert.yml index f8fdfe2..c989101 100644 --- a/ansible/roles/registry/tasks/gencert.yml +++ b/ansible/roles/registry/tasks/gencert.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Generate a new self-signed certificate for the registry. To be used later. diff --git a/ansible/roles/registry/tasks/main.yml b/ansible/roles/registry/tasks/main.yml index 26c1b84..e4e611e 100644 --- a/ansible/roles/registry/tasks/main.yml +++ b/ansible/roles/registry/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install a docker registry using self-signed certs. # In deploy mode it will deploy the registry. If it pre-exists, it will be recycled. diff --git a/ansible/roles/registry/tasks/publish.yml b/ansible/roles/registry/tasks/publish.yml index 848658c..8087f20 100644 --- a/ansible/roles/registry/tasks/publish.yml +++ b/ansible/roles/registry/tasks/publish.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Publish certificate to all hosts. Also add registry to /etc/hosts if no fqdn provided. diff --git a/ansible/roles/routemgmt/tasks/clean.yml b/ansible/roles/routemgmt/tasks/clean.yml index 0089021..e752355 100644 --- a/ansible/roles/routemgmt/tasks/clean.yml +++ b/ansible/roles/routemgmt/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove API Gateway route management actions. diff --git a/ansible/roles/routemgmt/tasks/deploy.yml b/ansible/roles/routemgmt/tasks/deploy.yml index 5390eb6..5e0e653 100644 --- a/ansible/roles/routemgmt/tasks/deploy.yml +++ b/ansible/roles/routemgmt/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Install the API Gateway route management actions. - name: install route management actions diff --git a/ansible/roles/routemgmt/tasks/main.yml b/ansible/roles/routemgmt/tasks/main.yml index b477cb6..ba3a171 100644 --- a/ansible/roles/routemgmt/tasks/main.yml +++ b/ansible/roles/routemgmt/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install the API Gateway route management actions # In deploy mode it will deploy the API Gateway route management actions. diff --git a/ansible/roles/whiskhost/tasks/addUser.yml b/ansible/roles/whiskhost/tasks/addUser.yml index 178278f..f72cec3 100644 --- a/ansible/roles/whiskhost/tasks/addUser.yml +++ b/ansible/roles/whiskhost/tasks/addUser.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Add docker user to the target host. # Set -e ansible_ssh_pass=xxx -e ansible_become_pass=xxx -e ansible_user=yyy when executing this playbook. diff --git a/ansible/roles/whiskhost/tasks/clean.yml b/ansible/roles/whiskhost/tasks/clean.yml index fd517b8..defffa8 100644 --- a/ansible/roles/whiskhost/tasks/clean.yml +++ b/ansible/roles/whiskhost/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Do nothing. diff --git a/ansible/roles/whiskhost/tasks/deploy.yml b/ansible/roles/whiskhost/tasks/deploy.yml index 24e22e0..c921a43 100644 --- a/ansible/roles/whiskhost/tasks/deploy.yml +++ b/ansible/roles/whiskhost/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Add user and patch kernel. diff --git a/ansible/roles/whiskhost/tasks/main.yml b/ansible/roles/whiskhost/tasks/main.yml index 8d0d268..23bbefa 100644 --- a/ansible/roles/whiskhost/tasks/main.yml +++ b/ansible/roles/whiskhost/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will prepare target VMs with the right kernel and other system settings. This should only be run on ubuntu targets. # In deploy mode it will patch the system with the right kernel. diff --git a/ansible/roles/whiskhost/tasks/patchKernel.yml b/ansible/roles/whiskhost/tasks/patchKernel.yml index 9c00d0c..e40c2b8 100644 --- a/ansible/roles/whiskhost/tasks/patchKernel.yml +++ b/ansible/roles/whiskhost/tasks/patchKernel.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will patch the kernel to the version defined in linux.version. diff --git a/ansible/roles/zookeeper/tasks/clean.yml b/ansible/roles/zookeeper/tasks/clean.yml index ea56f6d..c351300 100644 --- a/ansible/roles/zookeeper/tasks/clean.yml +++ b/ansible/roles/zookeeper/tasks/clean.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Remove kafka and zookeeper containers. diff --git a/ansible/roles/zookeeper/tasks/deploy.yml b/ansible/roles/zookeeper/tasks/deploy.yml index 2ee32c0..ea8de82 100644 --- a/ansible/roles/zookeeper/tasks/deploy.yml +++ b/ansible/roles/zookeeper/tasks/deploy.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install Kafka with Zookeeper in group 'kafka' in the environment inventory diff --git a/ansible/roles/zookeeper/tasks/main.yml b/ansible/roles/zookeeper/tasks/main.yml index 7adbdc1..a23f3f4 100644 --- a/ansible/roles/zookeeper/tasks/main.yml +++ b/ansible/roles/zookeeper/tasks/main.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This role will install kafka in group 'kafka' in the environment inventory # In deploy mode it will deploy kafka including zookeeper. diff --git a/ansible/routemgmt.yml b/ansible/routemgmt.yml index 16520ec..4c99436 100644 --- a/ansible/routemgmt.yml +++ b/ansible/routemgmt.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook deploys the Openwhisk API Gateway route management actions. diff --git a/ansible/setup.yml b/ansible/setup.yml index ebf17b8..b6a43cd 100644 --- a/ansible/setup.yml +++ b/ansible/setup.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook prepares ansible configuration diff --git a/ansible/tasks/db/checkDb.yml b/ansible/tasks/db/checkDb.yml index 71f3d7a..a694ca2 100644 --- a/ansible/tasks/db/checkDb.yml +++ b/ansible/tasks/db/checkDb.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Checks, that the Database exists # dbName - name of the database to check diff --git a/ansible/tasks/db/recreateDb.yml b/ansible/tasks/db/recreateDb.yml index c67875d..abc83ab 100644 --- a/ansible/tasks/db/recreateDb.yml +++ b/ansible/tasks/db/recreateDb.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # (re))create the specified database. # dbName - name of the database to (re)create diff --git a/ansible/tasks/db/recreateDoc.yml b/ansible/tasks/db/recreateDoc.yml index c92caf6..56eff7a 100644 --- a/ansible/tasks/db/recreateDoc.yml +++ b/ansible/tasks/db/recreateDoc.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Recreates a document in a database. # dbName - name of the database, where the view should be stored diff --git a/ansible/tasks/docker_login.yml b/ansible/tasks/docker_login.yml index 7d9b1d5..5283d87 100644 --- a/ansible/tasks/docker_login.yml +++ b/ansible/tasks/docker_login.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Logs in to private registry if needed. diff --git a/ansible/tasks/initdb.yml b/ansible/tasks/initdb.yml index 6f53bfa..7e19d7d 100644 --- a/ansible/tasks/initdb.yml +++ b/ansible/tasks/initdb.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This task will initialize the immortal DBs in the database account. # This step is usually done only once per deployment. diff --git a/ansible/tasks/installOpenwhiskCatalog.yml b/ansible/tasks/installOpenwhiskCatalog.yml index 640f957..f56c6b2 100644 --- a/ansible/tasks/installOpenwhiskCatalog.yml +++ b/ansible/tasks/installOpenwhiskCatalog.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This task will install the standard actions and packages available in openwhisk-catalog repos. diff --git a/ansible/tasks/recreateViews.yml b/ansible/tasks/recreateViews.yml index 3294b15..f4f3906 100644 --- a/ansible/tasks/recreateViews.yml +++ b/ansible/tasks/recreateViews.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Recreates all views in all databases. diff --git a/ansible/tasks/wipeDatabase.yml b/ansible/tasks/wipeDatabase.yml index a6cce66..2e85e64 100644 --- a/ansible/tasks/wipeDatabase.yml +++ b/ansible/tasks/wipeDatabase.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # Wipe transient databases. You should know what you are doing here. # withViews: True or False. Says, if the views have to be recreated. diff --git a/ansible/tasks/writeWhiskProperties.yml b/ansible/tasks/writeWhiskProperties.yml index a08bde0..1bbec34 100644 --- a/ansible/tasks/writeWhiskProperties.yml +++ b/ansible/tasks/writeWhiskProperties.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This task will write whisk.properties to the openwhisk_home. # Currently whisk.properties is still needed for tests. diff --git a/ansible/teardown.yml b/ansible/teardown.yml index 03658c0..e6ac2d8 100644 --- a/ansible/teardown.yml +++ b/ansible/teardown.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # This playbook cleans all docker containers diff --git a/ansible/wipe.yml b/ansible/wipe.yml index 075bda2..1baeb39 100644 --- a/ansible/wipe.yml +++ b/ansible/wipe.yml @@ -1,18 +1,5 @@ -# # 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. -# +# license agreements; and to You under the Apache License, Version 2.0. --- # WARNING: This playbook wipes the database. This action is not reversible. Be very careful and know what you are doing. diff --git a/ansible/yamllint.yml b/ansible/yamllint.yml index 0645d1e..7b34c52 100644 --- a/ansible/yamllint.yml +++ b/ansible/yamllint.yml @@ -1,3 +1,6 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more contributor +# license agreements; and to You under the Apache License, Version 2.0. + extends: default rules: diff --git a/tools/db/moveCodeToAttachment.py b/tools/db/moveCodeToAttachment.py index 1f31cb6..be90eea 100755 --- a/tools/db/moveCodeToAttachment.py +++ b/tools/db/moveCodeToAttachment.py @@ -1,18 +1,17 @@ #!/usr/bin/env python '''Python script update actions. - /* * 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 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, + * 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. -- To stop receiving notification emails like this one, please contact houshen...@apache.org.