diff options
author | Matt Clay <matt@mystile.com> | 2019-01-25 04:25:06 +0100 |
---|---|---|
committer | Matt Clay <matt@mystile.com> | 2019-01-25 04:57:04 +0100 |
commit | d2a7cc0b9f835d972941168d5c49e398c65d88a9 (patch) | |
tree | 4f92f74e1072b6d7f9abd931699b620eeff35944 /test/integration/targets/setup_deb_repo/tasks | |
parent | mso_contract_filter: Improve logic (#51315) (diff) | |
download | ansible-d2a7cc0b9f835d972941168d5c49e398c65d88a9.tar.xz ansible-d2a7cc0b9f835d972941168d5c49e398c65d88a9.zip |
Fix integration tests to support remote hosts.
Diffstat (limited to 'test/integration/targets/setup_deb_repo/tasks')
-rw-r--r-- | test/integration/targets/setup_deb_repo/tasks/main.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/test/integration/targets/setup_deb_repo/tasks/main.yml b/test/integration/targets/setup_deb_repo/tasks/main.yml index 9660416cba..49f68a2cdf 100644 --- a/test/integration/targets/setup_deb_repo/tasks/main.yml +++ b/test/integration/targets/setup_deb_repo/tasks/main.yml @@ -16,8 +16,15 @@ state: directory mode: 0755 + - name: Copy package specs to remote + copy: + src: "{{ item }}" + dest: "{{ remote_tmp_dir }}/{{ item | basename }}" + with_fileglob: + - "files/package_specs/*" + - name: Create deb files - shell: "equivs-build {{ item }}" + shell: "equivs-build {{ remote_tmp_dir }}/{{ item | basename }}" args: chdir: "{{ repodir }}" with_fileglob: |