Clean up local_action and delegate_to in tests. (#55835)

* Remove unnecessary delegate_to in tests.

* Remove incorrect delegate_to in tests.

* Remove unnecessary use of local_action in tests.

* Remove incorrect use of local_action in tests.

* Remove unnecessary use of local_action in tests.

* Remove incorrect use of local_action in tests.

* Remove unnecessary use of local_action in tests.

* Use delegate_to instead of local_action in tests.

* Use setup_remote_tmp_dir instead of TMPDIR.
This commit is contained in:
Matt Clay 2019-04-26 17:33:59 -07:00 committed by GitHub
parent 2feda390b5
commit 149336319a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
26 changed files with 117 additions and 201 deletions

View file

@ -14,8 +14,8 @@
- name: download binary module
tags: test_binary_modules
local_action:
module: get_url
get_url:
url: "https://ansible-ci-files.s3.amazonaws.com/test/integration/roles/test_binary_modules/{{ module_filename }}"
dest: "{{ playbook_dir }}/library/{{ module_filename }}"
mode: 0755
delegate_to: localhost