Commit Graph

285 Commits

Author SHA1 Message Date
Jeff Geerling
e9d8bf703b Merge pull request #210 from maxamillion/heml/fix_sanity_tests
fix CI tests, helm picked up the same argspec addition as some k8s mo…
2020-08-28 07:21:09 -05:00
Adam Miller
827807392d fix CI tests, helm picked up the same argspec addition as some k8s modules
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-27 22:08:01 -05:00
Fabian von Feilitzsch
91c16216cc Merge pull request #208 from fabianvf/inventory_set_connection_plugin
Set the connection plugin and transport separately, add tests
2020-08-27 12:14:53 -04:00
Jeff Geerling
604cae993b Merge pull request #197 from maxamillion/downstream_build
add Makefile and downstream build script
2020-08-27 10:41:28 -05:00
Jeff Geerling
20bd37fab2 Merge pull request #206 from geerlingguy/stale-exempt-labels
PR #196 follow-up: Adjust stale bot exemptLabels.
2020-08-27 08:17:35 -05:00
Adam Miller
8c7ea12024 only test downstream against Ansible 2.9.x
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 15:10:29 -05:00
Fabian von Feilitzsch
1c5a8fd49f Set the connection plugin and transport separately, add tests 2020-08-26 14:48:40 -04:00
Adam Miller
ec74038a1e need flake8 setup.cfg for downstream tests also
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 13:07:14 -05:00
Adam Miller
f205348091 fix downstream molecule tests
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 12:55:56 -05:00
Adam Miller
b5eba332c9 fix makefile
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 11:49:50 -05:00
Adam Miller
f9fc0f7d69 fix README, use Makefile everywhere
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 11:33:00 -05:00
Jeff Geerling
5f34d84f67 PR #196 follow-up: Adjust stale bot exemptLabels. 2020-08-26 11:19:05 -05:00
Adam Miller
3885eb1a84 add Makefile, downstream build script, enable CI for downstream
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-26 09:39:42 -05:00
Abhijeet Kasurde
16059a8111 k8s_*: Group argument_spec accroding to usage (#199)
Partially fix #36

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-08-26 19:48:07 +05:30
Abhijeet Kasurde
d39fcfc2d8 k8s_*: Add support for vaulted kubeconfig and src (#193) 2020-08-26 10:22:47 +05:30
Jeff Geerling
b4a3ef3409 Merge pull request #194 from geerlingguy/43-zuul-new-versions
Issue #43: Update README to reflect new Zuul automated tag build and push.
2020-08-25 10:07:08 -05:00
Fabian von Feilitzsch
2d50bb09fb Merge pull request #203 from Akasurde/k8s_info
k8s_info: Update documentation
2020-08-24 12:07:07 -04:00
Fabian von Feilitzsch
fec3d17640 Merge pull request #196 from geerlingguy/53-probot-stale
Issue #53: Add probot/stale bot configuration to ID and close stale issues.
2020-08-24 11:23:25 -04:00
Abhijeet Kasurde
ab77b79f9c k8s_info: Update documentation
* Used name_option doc_fragments
* Updated doc formatting
* Updated k8s_info example for custom resource

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-08-24 15:47:00 +05:30
Jeff Geerling
7acd460bdc Issue #53: Add probot/stale bot configuration to ID and close stale issues. 2020-08-18 10:46:35 -05:00
Jeff Geerling
d3dd21b67e Merge pull request #191 from Akasurde/contrib
Add contrib page
2020-08-18 10:34:28 -05:00
Jeff Geerling
4eea323bb6 Issue #43: Update README to reflect new Zuul automated tag build and push. 2020-08-18 10:26:00 -05:00
Abhijeet Kasurde
f58e6489ce Add contrib page
Fixes: #120

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-08-12 17:57:54 +05:30
Abhijeet Kasurde
4f33ba7b39 raw: Handle exception raised by underlying APIs (#180)
kind can be provided by number of ways. It is diffcult to
find all cases. So, handle exceptions raised by underlying
APIs and provide good error message to user.

Fixes: ansible/ansible#63652

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-08-11 11:12:53 +05:30
Jeff Geerling
666b75eba4 Fix typo in Readme. (#182) 2020-08-06 09:57:24 +05:30
Jeff Geerling
f38cae329d Merge pull request #173 from geerlingguy/1-0-0-release
Prepare for collection 1.0.0 release
2020-07-28 11:04:21 -05:00
Jeff Geerling
e29d4f1d1f Issue #171: Add links for new modules in README. 2020-07-28 10:38:05 -05:00
Jeff Geerling
81494e2ae2 Issue #171: Update fragment for PR #152 to include link. 2020-07-28 10:37:15 -05:00
Jeff Geerling
1ef28bcd73 Issue #171: Update changelog and make sure things are ready for 1.0.0 release. 2020-07-28 10:37:15 -05:00
Jeff Geerling
b51bbdf200 Issue #171: Update changelog fragments for 1.0.0 release. 2020-07-28 10:37:15 -05:00
Jeff Geerling
1f3d123a21 Merge pull request #172 from geerlingguy/docs-links
Update docs links in README for plugins.
2020-07-23 13:00:28 -05:00
Jeff Geerling
8bf59c5d92 Merge pull request #166 from geerlingguy/165-plugin-routing
Issue #165: Add plugin_routing information for deprecated plugins.
2020-07-23 13:00:13 -05:00
Jeff Geerling
cfcdf4afc3 Issue #165: Add plugin_routing information for deprecated plugins. 2020-07-23 12:04:54 -05:00
Jeff Geerling
9f099a43a7 Update docs links in README for plugins. 2020-07-23 12:03:53 -05:00
Jeff Geerling
85e6ccc743 Merge pull request #168 from geerlingguy/167-fix-ci
Fixes #167: Re-order ansible installation so it doesn't break on molecule test.
2020-07-23 12:03:22 -05:00
Jeff Geerling
0473ac9fcc Issue #167: Try Ansible's stable release. 2020-07-23 11:22:35 -05:00
Jeff Geerling
bab4e38738 Issue #167: Install ansible-base via pip with --pre. 2020-07-23 11:15:35 -05:00
Jeff Geerling
9c0f7fe0ba Issue #167: Attempt installing ansible's stable-2.10 branch. 2020-07-23 11:06:56 -05:00
Abhijeet Kasurde
3aaf182c30 k8s_exec: Return rc for the command executed (#158)
k8s_exec now returns command return code in output.

Fixes: #122

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-23 10:52:26 +05:30
Abhijeet Kasurde
6c059bd2bc helm_plugin and helm_plugin_info: new module (#154)
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-22 09:14:23 +05:30
Jeff Geerling
f4f4ec6fcf Issue #167: More fixes, oops. 2020-07-20 16:31:49 -05:00
Jeff Geerling
4a2b1b918b Issue #167: Make yamllint less bothersome and install ansible-base in different order. 2020-07-20 16:25:35 -05:00
Jeff Geerling
6d2567b6c0 Fixes #167: Re-order ansible installation so it doesn't break on molecule test. 2020-07-20 16:06:40 -05:00
Jeff Geerling
a16ac42f3e Issue #148: Switch links and CI process to main from master branch. 2020-07-17 08:55:11 -05:00
Abhijeet Kasurde
c4f3e5a034 k8s_info: Update example using vars (#156)
Fixes: #151

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-13 16:35:33 +05:30
Abhijeet Kasurde
6b28ef3c17 kubectl: redacted token and password from console log (#159)
** SECURITY_FIX ** for CVE-2020-1753

kubectl connection plugin now redact kubectl_token and
kubectl_password from console log.

Fixes: #65

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-07-11 08:50:15 +05:30
LucasBoisserie
3e971e0ad3 Create ns with helm (#157)
Added support `--create-namespace` in helm module.
2020-07-11 08:45:22 +05:30
Fabian von Feilitzsch
806c808c9d Merge pull request #155 from willthames/check_mode_results
Ensure check mode results are as expected
2020-07-10 16:04:42 -04:00
Fabian von Feilitzsch
dd4ebf2194 Merge pull request #152 from Akasurde/context_aliases
helm_: Add context aliases for kube_context
2020-07-10 15:55:51 -04:00
Will Thames
e3223a8f60 Ensure check mode results are as expected
check_mode with wait updates the result based on the existing resource
which won't change with check_mode, so returns incorrect results.
Only run the wait checks in non check_mode (this also avoids the issue
of waiting for resource creation that will never happen in check mode)
2020-07-08 21:47:23 +10:00