From 91eb254d7d16477e035f441db639354750fd02f7 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Tue, 10 Nov 2015 09:40:44 -0500 Subject: [PATCH] Add LICENSE headers Signed-off-by: Paul Belanger --- README.rst | 2 +- defaults/main.yaml | 13 +++++++++++++ handlers/main.yaml | 13 +++++++++++++ meta/main.yml | 13 +++++++++++++ tasks/config.yaml | 13 +++++++++++++ tasks/install.yaml | 13 +++++++++++++ tasks/install/debian.yaml | 13 +++++++++++++ tasks/install/git.yaml | 13 +++++++++++++ tasks/install/pip.yaml | 13 +++++++++++++ tasks/install/redhat.yaml | 13 +++++++++++++ tasks/main.yaml | 13 +++++++++++++ tasks/service.yaml | 13 +++++++++++++ tasks/service/redhat.yaml | 13 +++++++++++++ tests/test001.yaml | 13 +++++++++++++ tests/test002.yaml | 13 +++++++++++++ vars/Debian.yaml | 26 ++++++++++++++++++++++++++ vars/RedHat.yaml | 13 +++++++++++++ 17 files changed, 222 insertions(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 230e3bb..164abcd 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 c9390cd..93e771a 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 nodepool_config_database_dburi: sqlite:////var/lib/nodepool/nodepool.db diff --git a/handlers/main.yaml b/handlers/main.yaml index bd4acfe..39b2318 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 nodepool service: diff --git a/meta/main.yml b/meta/main.yml index 953e576..068fd44 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 f2de808..88166a6 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 23670b0..357ac3e 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 nodepool_build_depends. set_fact: diff --git a/tasks/install/debian.yaml b/tasks/install/debian.yaml index a479a9e..8edf6c6 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 8e6a92f..32a08a8 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 nodepool. git: diff --git a/tasks/install/pip.yaml b/tasks/install/pip.yaml index a72bfb3..3bb914f 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 nodepool using pip. pip: diff --git a/tasks/install/redhat.yaml b/tasks/install/redhat.yaml index ab650c5..f267992 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 2e965d7..77b2d92 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 d0f2d60..1504aad 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. copy: diff --git a/tests/test001.yaml b/tests/test001.yaml index cbd1798..3f57d21 100644 --- a/tests/test001.yaml +++ b/tests/test001.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 roles: diff --git a/tests/test002.yaml b/tests/test002.yaml index 9840bfb..fa7c124 100644 --- a/tests/test002.yaml +++ b/tests/test002.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 roles: diff --git a/vars/Debian.yaml b/vars/Debian.yaml index 8c7b1ae..b457107 100644 --- a/vars/Debian.yaml +++ b/vars/Debian.yaml @@ -1,3 +1,29 @@ +# 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. +# 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. --- __nodepool_build_depends: - git diff --git a/vars/RedHat.yaml b/vars/RedHat.yaml index 012b238..e520efd 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. --- __nodepool_build_depends: - gcc