diff --git a/README.rst b/README.rst index 2bb40a1..5885c2f 100644 --- a/README.rst +++ b/README.rst @@ -15,7 +15,7 @@ Example Playbook License ------- - Copyright 2015 Paul Belanger + Copyright 2015 Red Hat, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. diff --git a/defaults/main.yaml b/defaults/main.yaml index 0fad875..e430bb0 100644 --- a/defaults/main.yaml +++ b/defaults/main.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- # tasks/config.yaml zuul_config_gearman_port: 4730 diff --git a/handlers/main.yaml b/handlers/main.yaml index e0d4934..4a4cf7f 100644 --- a/handlers/main.yaml +++ b/handlers/main.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Restart zuul-merger service: diff --git a/meta/main.yml b/meta/main.yml index 6c4a0e2..61ef77c 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- galaxy_info: author: Paul Belanger diff --git a/tasks/config.yaml b/tasks/config.yaml index 49ad600..4397988 100644 --- a/tasks/config.yaml +++ b/tasks/config.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Create system user account. user: diff --git a/tasks/install.yaml b/tasks/install.yaml index f4e5554..70c7864 100644 --- a/tasks/install.yaml +++ b/tasks/install.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Define zuul_build_depends. set_fact: diff --git a/tasks/install/debian.yaml b/tasks/install/debian.yaml index c99e604..d6af7d9 100644 --- a/tasks/install/debian.yaml +++ b/tasks/install/debian.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Ensure build dependencies are installed. apt: "pkg={{ item }} state=installed" diff --git a/tasks/install/git.yaml b/tasks/install/git.yaml index ba065a7..f9620c7 100644 --- a/tasks/install/git.yaml +++ b/tasks/install/git.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Git clone zuul. git: diff --git a/tasks/install/pip.yaml b/tasks/install/pip.yaml index b88d947..d9252a5 100644 --- a/tasks/install/pip.yaml +++ b/tasks/install/pip.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Install zuul using pip. pip: diff --git a/tasks/install/redhat.yaml b/tasks/install/redhat.yaml index d38cb55..85b2759 100644 --- a/tasks/install/redhat.yaml +++ b/tasks/install/redhat.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- # NOTE(pabelanger): This needs to be here for now, since we need python-pip. - name: Ensure EPEL is enabled. diff --git a/tasks/main.yaml b/tasks/main.yaml index 342e42a..ea0ef4c 100644 --- a/tasks/main.yaml +++ b/tasks/main.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Include OS-specific variables. include_vars: "{{ ansible_os_family }}.yaml" diff --git a/tasks/service.yaml b/tasks/service.yaml index 15177b1..8af75b3 100644 --- a/tasks/service.yaml +++ b/tasks/service.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - include: service/redhat.yaml when: ansible_os_family == 'RedHat' diff --git a/tasks/service/redhat.yaml b/tasks/service/redhat.yaml index d80ca6e..eab83f4 100644 --- a/tasks/service/redhat.yaml +++ b/tasks/service/redhat.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - name: Copy systemd file into place for zuul-merger. copy: diff --git a/tests/test.yaml b/tests/test.yaml index c5d0a31..81dab81 100644 --- a/tests/test.yaml +++ b/tests/test.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- - hosts: localhost vars: diff --git a/vars/Debian.yaml b/vars/Debian.yaml index dfbb109..a869f7c 100644 --- a/vars/Debian.yaml +++ b/vars/Debian.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- __zuul_build_depends: - git diff --git a/vars/RedHat.yaml b/vars/RedHat.yaml index 7bba169..c44b73b 100644 --- a/vars/RedHat.yaml +++ b/vars/RedHat.yaml @@ -1,3 +1,16 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. --- __zuul_build_depends: - gcc diff --git a/vars/zuul.yaml b/vars/zuul.yaml index ed97d53..ca41d99 100644 --- a/vars/zuul.yaml +++ b/vars/zuul.yaml @@ -1 +1,14 @@ +# Copyright 2015 Red Hat, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the +# License for the specific language governing permissions and limitations +# under the License. ---