summaryrefslogtreecommitdiffstats
path: root/test/integration/targets/memset_dns_reload
diff options
context:
space:
mode:
authorMatt Clay <matt@mystile.com>2019-04-27 02:33:59 +0200
committerGitHub <noreply@github.com>2019-04-27 02:33:59 +0200
commit149336319a075edaadd299badb2ed46fad3c95ff (patch)
tree06557b17cf1c03a1bac4bcb6885a0db7310dfba9 /test/integration/targets/memset_dns_reload
parentFix ansible-test target change classification. (diff)
downloadansible-149336319a075edaadd299badb2ed46fad3c95ff.tar.xz
ansible-149336319a075edaadd299badb2ed46fad3c95ff.zip
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.
Diffstat (limited to 'test/integration/targets/memset_dns_reload')
-rw-r--r--test/integration/targets/memset_dns_reload/tasks/main.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/test/integration/targets/memset_dns_reload/tasks/main.yml b/test/integration/targets/memset_dns_reload/tasks/main.yml
index e778265593..b2dcad599c 100644
--- a/test/integration/targets/memset_dns_reload/tasks/main.yml
+++ b/test/integration/targets/memset_dns_reload/tasks/main.yml
@@ -1,7 +1,6 @@
---
- name: request reload with invalid API key
- local_action:
- module: memset_dns_reload
+ memset_dns_reload:
api_key: "wa9aerahhie0eekee9iaphoorovooyia"
ignore_errors: true
register: result
@@ -13,8 +12,7 @@
- result is not successful
- name: request reload and poll
- local_action:
- module: memset_dns_reload
+ memset_dns_reload:
api_key: "{{ api_key }}"
poll: true
register: result