-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: add module documentation for timesync_provider
Automation Hub will error and not display module docs for any module if any of the docs are missing or incorrect. Since timesync_provider is a shell script, it must have a separate module doc file. Signed-off-by: Rich Megginson <[email protected]>
- Loading branch information
Showing
10 changed files
with
28 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 |
---|---|---|
@@ -1 +1,2 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license | ||
plugins/modules/timesync_provider.sh validate-modules:invalid-extension | ||
plugins/modules/timesync_provider.sh validate-modules:python-syntax-error |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license | ||
plugins/modules/timesync_provider.sh validate-modules:invalid-extension | ||
plugins/modules/timesync_provider.sh validate-modules:python-syntax-error |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license | ||
plugins/modules/timesync_provider.sh validate-modules:invalid-extension | ||
plugins/modules/timesync_provider.sh validate-modules:python-syntax-error |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license | ||
plugins/modules/timesync_provider.sh validate-modules:invalid-extension | ||
plugins/modules/timesync_provider.sh validate-modules:missing-gplv3-license |
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 |
---|---|---|
@@ -1 +1,2 @@ | ||
plugins/modules/timesync_provider.sh shebang | ||
plugins/modules/timesync_provider.yml validate-modules:missing-gplv3-license |
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,19 @@ | ||
DOCUMENTATION: | ||
module: timesync_provider | ||
short_description: Determine the timesync provider on the system | ||
version_added: "2.14.0" | ||
description: | ||
- "WARNING: Do not use this module directly! It is only for role internal use." | ||
- "Determine the timesync provider on the system and return it." | ||
options: {} | ||
author: | ||
- Miroslav Lichvar (@mlichvar) | ||
EXAMPLES: |- | ||
- name: Determine current NTP provider | ||
timesync_provider: | ||
RETURN: | ||
timesync_ntp_provider_current: | ||
description: Name of current provider e.g. chrony or ntp | ||
returned: success | ||
type: str | ||
sample: chrony |