mirror of
https://github.com/ansible-collections/kubernetes.core.git
synced 2026-05-06 13:02:37 +00:00
k8s_cp: add support for check_mode, fix doc issue, remove dependency with 'find' when state=from_pod (#512)
k8s_cp: add support for check_mode, fix doc issue, remove dependency with 'find' when state=from_pod Depends-On: ansible/ansible-zuul-jobs#1635 Depends-On: ansible/ansible-zuul-jobs#1636 Depends-On: #518 Depends-On: #520 SUMMARY add support for check_mode, closes #380 fix doc issue, closes #485 Remove dependency with 'find' executable when state=from_pod, closes #486 ISSUE TYPE Bugfix Pull Request Docs Pull Request Feature Pull Request Reviewed-by: Gonéri Le Bouder <goneri@lebouder.net> Reviewed-by: Mike Graves <mgraves@redhat.com> Reviewed-by: Bikouo Aubin <None>
This commit is contained in:
@@ -119,7 +119,7 @@ EXAMPLES = r"""
|
||||
state: from_pod
|
||||
|
||||
# copy content into a file in the remote pod
|
||||
- name: Copy /tmp/foo from a remote pod to /tmp/bar locally
|
||||
- name: Copy content into a file in the remote pod
|
||||
kubernetes.core.k8s_cp:
|
||||
state: to_pod
|
||||
namespace: some-namespace
|
||||
|
||||
Reference in New Issue
Block a user