summaryrefslogtreecommitdiffstats
path: root/utils/test/result_collection_api/update/test.yml
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-08-17 07:25:24 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-17 07:25:25 +0000
commit7b1f258c63b98ea17fa7b9b7559b94fe0b9cafcb (patch)
tree6ba428331192ecc619d8edcc71ebb0dafd090f93 /utils/test/result_collection_api/update/test.yml
parentb3f1bdf8725c5b5fd6df02d165503c6220aec2f4 (diff)
parent3c4de6f3f4e74e032d3724ac6683e7326266787e (diff)
Merge "update testapi only with one command"
Diffstat (limited to 'utils/test/result_collection_api/update/test.yml')
-rw-r--r--utils/test/result_collection_api/update/test.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/utils/test/result_collection_api/update/test.yml b/utils/test/result_collection_api/update/test.yml
new file mode 100644
index 000000000..a8868720d
--- /dev/null
+++ b/utils/test/result_collection_api/update/test.yml
@@ -0,0 +1,12 @@
+---
+- hosts: "{{ host }}"
+ remote_user: "{{ user }}"
+ become: yes
+ become_method: sudo
+ vars:
+ user: "root"
+ tasks:
+ - name: test connectivity
+ command: "echo hello {{ host }}"
+ register: result
+ - debug: msg="{{ result }}"