| 1 |
# SPDX-FileCopyrightText: 2026 Mitogen authors <https://github.com/mitogen-hq> |
| 2 |
# SPDX-License-Identifier: BSD-3-Clause |
| 3 |
|
| 4 |
from __future__ import absolute_import, division, print_function |
| 5 |
__metaclass__ = type |
| 6 |
|
| 7 |
from ansible.module_utils.basic import AnsibleModule |
| 8 |
|
| 9 |
|
| 10 |
def main(): |
| 11 |
module = AnsibleModule( |
| 12 |
argument_spec=dict( |
| 13 |
warning=dict(type=str, default=u''), |
| 14 |
), |
| 15 |
) |
| 16 |
if module.params['warning']: |
| 17 |
module.warn(module.params['warning']) |
| 18 |
module.exit_json() |
| 19 |
|
| 20 |
|
| 21 |
if __name__ == '__main__': |
| 22 |
main() |