diff options
author | Toshio Kuratomi <a.badger@gmail.com> | 2017-07-29 00:20:36 -0700 |
---|---|---|
committer | Toshio Kuratomi <a.badger@gmail.com> | 2017-07-29 07:02:12 -0700 |
commit | 1ee08c0f069eb5d3817ba7199adef4f3804056b8 (patch) | |
tree | 33de7d1e1c078e510188de99e96d1f6328a233db /lib/ansible/modules/inventory | |
parent | 6f69cd4501cec1e3d56dac1f6eed90fb10f57eb8 (diff) | |
download | ansible-1ee08c0f069eb5d3817ba7199adef4f3804056b8.tar.gz |
Get rid of more wildcard imports and add boilerplate to more modules
This commit cleans up the following module categories:
* messaging
* inventory
* crypto
* commands
* clustering
* cloud/webfaction
* cloud/docker
* cloud/digital_ocean
Diffstat (limited to 'lib/ansible/modules/inventory')
-rw-r--r-- | lib/ansible/modules/inventory/add_host.py | 20 | ||||
-rw-r--r-- | lib/ansible/modules/inventory/group_by.py | 20 |
2 files changed, 12 insertions, 28 deletions
diff --git a/lib/ansible/modules/inventory/add_host.py b/lib/ansible/modules/inventory/add_host.py index 236b8875b6..550184aab2 100644 --- a/lib/ansible/modules/inventory/add_host.py +++ b/lib/ansible/modules/inventory/add_host.py @@ -1,19 +1,11 @@ # -*- mode: python -*- - -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. +# Copyright: Ansible Team +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +from __future__ import absolute_import, division, print_function +__metaclass__ = type + ANSIBLE_METADATA = {'metadata_version': '1.0', 'status': ['stableinterface'], diff --git a/lib/ansible/modules/inventory/group_by.py b/lib/ansible/modules/inventory/group_by.py index 7ee640c594..89c7f137ab 100644 --- a/lib/ansible/modules/inventory/group_by.py +++ b/lib/ansible/modules/inventory/group_by.py @@ -1,19 +1,11 @@ # -*- mode: python -*- - -# This file is part of Ansible -# -# Ansible is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# Ansible is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. # -# You should have received a copy of the GNU General Public License -# along with Ansible. If not, see <http://www.gnu.org/licenses/>. +# Copyright: Ansible Team +# GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) + +from __future__ import absolute_import, division, print_function +__metaclass__ = type + ANSIBLE_METADATA = {'metadata_version': '1.0', 'status': ['stableinterface'], |