diff options
Diffstat (limited to 'ansible_collections/kubernetes/core/tests/integration/targets/k8s_copy/tasks/test_copy_large_file.yml')
-rw-r--r-- | ansible_collections/kubernetes/core/tests/integration/targets/k8s_copy/tasks/test_copy_large_file.yml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/ansible_collections/kubernetes/core/tests/integration/targets/k8s_copy/tasks/test_copy_large_file.yml b/ansible_collections/kubernetes/core/tests/integration/targets/k8s_copy/tasks/test_copy_large_file.yml index 6758202eb..27d4050ac 100644 --- a/ansible_collections/kubernetes/core/tests/integration/targets/k8s_copy/tasks/test_copy_large_file.yml +++ b/ansible_collections/kubernetes/core/tests/integration/targets/k8s_copy/tasks/test_copy_large_file.yml @@ -10,16 +10,13 @@ path: "{{ test_directory }}" state: directory - - name: create large text file - k8s_create_file: - path: "{{ test_directory }}/large_text_file.txt" - size: 150 + - name: Create a large text file + ansible.builtin.shell: + cmd: base64 /dev/random | head -c 150M > {{ test_directory }}/large_text_file.txt - - name: create large binary file - k8s_create_file: - path: "{{ test_directory }}/large_bin_file.bin" - size: 200 - binary: true + - name: Create a large binary file + ansible.builtin.command: + cmd: dd if=/dev/random of={{ test_directory }}/large_bin_file.bin bs=1M count=200 # Copy large text file from/to local filesystem to Pod - name: copy large file into remote Pod |