summaryrefslogtreecommitdiffstats
path: root/testapi/update/test.yml
diff options
context:
space:
mode:
Diffstat (limited to 'testapi/update/test.yml')
-rw-r--r--testapi/update/test.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/testapi/update/test.yml b/testapi/update/test.yml
new file mode 100644
index 0000000..a886872
--- /dev/null
+++ b/testapi/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 }}"