summaryrefslogtreecommitdiffstats
path: root/update/test.yml
blob: 943105c5f269a9230f5e2304d98626a16de0e4d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
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 }}"