-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: ansible-lint can't load module tosit.tdp.resolve
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright 2022 TOSIT.IO | ||
# SPDX-License-Identifier: Apache-2.0 | ||
|
||
from __future__ import absolute_import, division, print_function | ||
|
||
|
||
# pylint: disable=invalid-name | ||
__metaclass__ = type | ||
# pylint: enable=invalid-name | ||
|
||
DOCUMENTATION = """ | ||
module: resolve | ||
short_description: >- | ||
sets facts for current context | ||
notes: | ||
- This plugin always runs on the execution node | ||
- This plugin will not run on a managed node | ||
""" | ||
|
||
EXAMPLES = r""" | ||
--- | ||
- name: Hadoop client Config | ||
hosts: hadoop_client | ||
tasks: | ||
- tosit.tdp.resolve: | ||
node_name: hadoop_client | ||
- name: Configure hadoop client | ||
ansible.builtin.import_role: | ||
name: tosit.tdp.hadoop.client | ||
tasks_from: config | ||
- ansible.builtin.meta: clear_facts | ||
""" | ||
|
||
RETURN = r""" | ||
# TO-DO: Enter return values here | ||
""" |