-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpvars.yaml
36 lines (30 loc) · 1019 Bytes
/
pvars.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
- name: dump all
hosts: all
tasks:
- name: Print some debug information
# vars:
# msg: |
# Module Variables ("vars"):
# --------------------------------
# {{ vars | to_nice_yaml }}
# Environment Variables ("environment"):
# --------------------------------
# {{ environment | to_nice_json }}
# GROUP NAMES Variables ("group_names"):
# --------------------------------
# {{ group_names | to_nice_json }}
# GROUPS Variables ("groups"):
# --------------------------------
# {{ groups | to_nice_json }}
# HOST Variables ("hostvars"):
# --------------------------------
# {{ hostvars | to_nice_json }}
- name: Print platform
vars:
msg: |
instana version: {{ app.instana_agent.version }}
# example version: {{ app.example.version }}
debug:
msg: "{{ msg.split('\n') }}"
tags: debug_info