-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdebug.yaml
44 lines (37 loc) · 865 Bytes
/
debug.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
37
38
39
40
41
42
43
44
---
- name: Debug
hosts: all
# gather_facts: true
# become: true
tasks:
- name: Show All Variables
ansible.builtin.debug:
msg: "{{ vars }}"
when: >
vars is defined
tags:
- never
- show_vars
- name: Show All facts
ansible.builtin.debug:
msg: "{{ ansible_facts }}"
when: >
ansible_facts is defined
tags:
- never
- show_facts
vars:
- name: Debug/Show/Facts
ask_credential_on_launch: true
ask_inventory_on_launch: true
ask_limit_on_launch: true
ask_tags_on_launch: false
description: Show ansible_facts for host(s)
execution_environment: "No Fuss Computing EE"
# extra_vars:
job_type: "run"
job_tags: show_facts
labels:
- debug
- facts
use_fact_cache: false