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 maintainers: evgkrsk
$modules/archive.py: $modules/archive.py:
maintainers: bendoh maintainers: bendoh
$modules/artisan.py:
maintainers: codebarista
$modules/atomic_: $modules/atomic_:
maintainers: krsacme maintainers: krsacme
$modules/atomic_container.py: $modules/atomic_container.py:

View file

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