From a9224302be0e658104a9b4692e3bff0b0c5c9d76 Mon Sep 17 00:00:00 2001 From: Will Miller Date: Tue, 28 Aug 2018 08:17:21 +0000 Subject: [PATCH] Add header to Python files --- ansible/action_plugins/tenks_schedule.py | 14 ++++++++++++++ ansible/filter_plugins/libvirt_vm_config.py | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/ansible/action_plugins/tenks_schedule.py b/ansible/action_plugins/tenks_schedule.py index a985d54..59add8d 100644 --- a/ansible/action_plugins/tenks_schedule.py +++ b/ansible/action_plugins/tenks_schedule.py @@ -1,3 +1,17 @@ +# Copyright (c) 2018 StackHPC Ltd. +# +# 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. + # Avoid shadowing of system copy module by copy action plugin. from __future__ import absolute_import from copy import deepcopy diff --git a/ansible/filter_plugins/libvirt_vm_config.py b/ansible/filter_plugins/libvirt_vm_config.py index bc9c400..8cbeaf8 100644 --- a/ansible/filter_plugins/libvirt_vm_config.py +++ b/ansible/filter_plugins/libvirt_vm_config.py @@ -1,3 +1,17 @@ +# Copyright (c) 2018 StackHPC Ltd. +# +# 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. + from ansible.errors import AnsibleFilterError from ansible.module_utils._text import to_text from jinja2 import contextfilter