1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix botmeta, license, whitespace and missing definitions

This commit is contained in:
Ralf Langebrake 2024-02-03 02:53:17 +01:00
parent 1bc77b75de
commit 832b7fb254
2 changed files with 17 additions and 12 deletions

2
.github/BOTMETA.yml vendored
View file

@ -400,6 +400,8 @@ files:
maintainers: evgkrsk
$modules/archive.py:
maintainers: bendoh
$modules/artisan.py:
maintainers: codebarista
$modules/atomic_:
maintainers: krsacme
$modules/atomic_container.py:

View file

@ -1,25 +1,19 @@
#!/usr/bin/python
# -*- coding: utf-8 -*-
# Copyright: (c) 2024, Ralf Langebrake <ralf@langebrake.com>
# 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)
# Copyright (c) 2024, Ralf Langebrake <ralf@langebrake.com>
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
from __future__ import absolute_import, division, print_function
__metaclass__ = type
import os
import re
from ansible.module_utils.basic import AnsibleModule
DOCUMENTATION = r'''
---
module: artisan
short_description: Laravel command line interface
version_added: "1.0.0"
description:
- >
Artisan is the command line interface included with Laravel, the
@ -50,11 +44,15 @@ options:
description:
- Command options like seed or force without leading hyphens.
required: false
elements: str
default: []
type: list
args:
description:
- Command arguments, mainly in custom commands.
required: false
elements: str
default: []
type: list
php_path:
description:
@ -126,6 +124,11 @@ EXAMPLES = r'''
- up
'''
import os
import re
from ansible.module_utils.basic import AnsibleModule
def parse(out):
# remove any unicode strings