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

Moved pythonlibs to module_utils to avoid usage of ENV vars #20

Merged
merged 2 commits into from
Dec 7, 2017

Conversation

amatamalas
Copy link
Contributor

I have rerun the test with simply using the following command without any ENV var:
ansible-playbook tests.yml --diff -i 127.0.0.1,

@zahodi
Copy link
Owner

zahodi commented Dec 6, 2017

@amatamalas looks good. Tests are passing. Can you just remove the "export" line from the ./run_this.sh since we don't need to use that anymore.

@senorsmile
Copy link
Collaborator

nice work. this was on our todo list.

@@ -55,15 +55,15 @@
password: "{{ mt_pass }}"
state: present
parameter: filter
settings:
rule:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this a fix or a potential improvement?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That change was included by mistake as it should not be part of the PR. This change is because the modules is not using "settings" but "rule" as the dictionary that contains the elements to be added/removed to the module. This should be part of another PR for issue #14

@amatamalas
Copy link
Contributor Author

amatamalas commented Dec 7, 2017

@zahodi I will add the change and commit it. Thanks for pointing that out!

@zahodi
Copy link
Owner

zahodi commented Dec 7, 2017

lgtm.

@zahodi zahodi merged commit c23500d into zahodi:master Dec 7, 2017
@amatamalas amatamalas deleted the moduleutils branch December 8, 2017 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants