Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add source_file module #52240

Open
wants to merge 3 commits into
base: devel
from

Conversation

Projects
None yet
2 participants
@nikaro
Copy link

nikaro commented Feb 14, 2019

SUMMARY

This module source a bash/dotenv-like file and populate its content into host variables through ansible_facts.

ISSUE TYPE
  • New Module Pull Request
COMPONENT NAME

source_file

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Feb 14, 2019

The test ansible-test sanity --test ansible-doc --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/files/source_file.py:0:0: has a documentation error formatting or is missing documentation.

The test ansible-test sanity --test compile --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/files/source_file.py:141:57: SyntaxError: v = {i.split("=")[0]: i.split("=")[1] for i in v.split(";")}

The test ansible-test sanity --test import --python 2.6 [explain] failed with 1 error:

lib/ansible/modules/files/source_file.py:141:57: SyntaxError: invalid syntax

The test ansible-test sanity --test shebang [explain] failed with 1 error:

lib/ansible/plugins/action/source_file.py:0:0: should not have a shebang

The test ansible-test sanity --test shellcheck [explain] failed with 7 errors:

test/integration/targets/source_file/files/foo.sh:9:1: SC2034 MY_VAR_STR appears unused. Verify it or export it.
test/integration/targets/source_file/files/foo.sh:10:1: SC2034 MY_VAR_STR_DOUBLE_QUOTES appears unused. Verify it or export it.
test/integration/targets/source_file/files/foo.sh:11:1: SC2034 MY_VAR_STR_SINGLE_QUOTES appears unused. Verify it or export it.
test/integration/targets/source_file/files/foo.sh:12:1: SC2034 MY_VAR_LIST appears unused. Verify it or export it.
test/integration/targets/source_file/files/foo.sh:13:1: SC2034 MY_VAR_DICT appears unused. Verify it or export it.
test/integration/targets/source_file/files/foo.sh:13:17: SC2034 b appears unused. Verify it or export it.
test/integration/targets/source_file/files/foo.sh:13:21: SC2034 c appears unused. Verify it or export it.

click here for bot help

nikaro added some commits Feb 14, 2019

@nikaro nikaro closed this Feb 14, 2019

@nikaro nikaro reopened this Feb 14, 2019

@ansibot

This comment has been minimized.

Copy link
Contributor

ansibot commented Feb 14, 2019

@EvanK @ahtik @bendoh @cmprescott @dhozac @jhoekx @jirutka @jpmens @krzysztof-magosa @luisperlaz @noseka1 @pileofrogs @ptux @ribbons @sfromm @sm4rk0 @tbielawa @tima @yaegashi

As a maintainer of a module in the same namespace this new module has been submitted to, your vote counts for shipits. Please review this module and add shipit if you would like to see it merged.

click here for bot help

@ansibot ansibot added the stale_ci label Feb 22, 2019

@ansibot ansibot added the files label Mar 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.