diff options
Diffstat (limited to 'test/integration/targets/old_style_modules_posix/tasks/main.yml')
-rw-r--r-- | test/integration/targets/old_style_modules_posix/tasks/main.yml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/test/integration/targets/old_style_modules_posix/tasks/main.yml b/test/integration/targets/old_style_modules_posix/tasks/main.yml index ba56de5bfc..a7882171b6 100644 --- a/test/integration/targets/old_style_modules_posix/tasks/main.yml +++ b/test/integration/targets/old_style_modules_posix/tasks/main.yml @@ -27,8 +27,13 @@ that: - 'goodbye_ansible.msg == "Goodbye, Ansible!"' +- name: Copy module to remote + copy: + src: "{{ role_path }}/library/helloworld.sh" + dest: "{{ remote_tmp_dir }}/helloworld.sh" + - name: Execute module directly - command: '/bin/sh {{ role_path }}/library/helloworld.sh' + command: '/bin/sh {{ remote_tmp_dir }}/helloworld.sh' register: direct ignore_errors: true |