Commit Graph
797 Commits
Author SHA1 Message Date
Fabian von Feilitzsch 0afe40e657 Do not mark task as changed when diff is irrelevant
When the diff contains changes only to the fields `metadata.generation`
or `metadata.resourceVersion`, do not mark the task as changed. Instead,
   emit a warning highlighting that the API itself may not be
   idempotent, but that there was no meaningful difference between the
   desired and actual state of the resource.
2020-09-14 15:51:08 -04:00
Abhijeet KasurdeandGitHub 527859c9cd Refactor module_utils (#223)
Moved a bunch of common things to module_utils.
2020-09-08 20:37:16 +05:30
Abhijeet Kasurde ffb7032dc2 handle exception raised due to DynamicClient
Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-09-07 19:03:28 +05:30
Abhijeet KasurdeandGitHub c49f896fa0 helm: Add replace parameter (#214)
Fixes: #106

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-09-07 12:42:00 +05:30
Adam MillerandGitHub 60c762bb37 fix downstream collection name kubernetes.base -> kubernetes.core (#213)
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-31 09:58:06 +05:30
Abhijeet KasurdeandGitHub 23f9588732 kubectl: correct usage in console (#204)
kubectl exec is printed twice in the console log.

Fixes: #200

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
2020-08-31 09:29:27 +05:30
Jeff GeerlingandGitHub c6fe654853 Merge pull request #212 from maxamillion/downstream/fix_ci_round_2
fix downstream ci names (round 2)
2020-08-28 14:28:32 -05:00
Adam Miller d17858c6dd fix downstream ci names
Signed-off-by: Adam Miller <admiller@redhat.com>
2020-08-28 13:58:39 -05:00
Jeff GeerlingandGitHub 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 FeilitzschandGitHub 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 GeerlingandGitHub 604cae993b Merge pull request #197 from maxamillion/downstream_build
add Makefile and downstream build script
2020-08-27 10:41:28 -05:00
Jeff GeerlingandGitHub 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 KasurdeandGitHub 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 KasurdeandGitHub d39fcfc2d8 k8s_*: Add support for vaulted kubeconfig and src (#193) 2020-08-26 10:22:47 +05:30
Jeff GeerlingandGitHub 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 FeilitzschandGitHub 2d50bb09fb Merge pull request #203 from Akasurde/k8s_info
k8s_info: Update documentation
2020-08-24 12:07:07 -04:00
Fabian von FeilitzschandGitHub 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 GeerlingandGitHub 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 KasurdeandGitHub 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 GeerlingandGitHub 666b75eba4 Fix typo in Readme. (#182) 2020-08-06 09:57:24 +05:30
Jeff GeerlingandGitHub 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 GeerlingandGitHub 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 GeerlingandGitHub 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 GeerlingandGitHub 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 KasurdeandGitHub 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 KasurdeandGitHub 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