Skip to content
Snippets Groups Projects
Commit f0be10f5 authored by Jörg Sachse's avatar Jörg Sachse
Browse files

test: print debug information if debug flag has been passed as an extravar

parent ea8334a9
No related branches found
No related tags found
No related merge requests found
......@@ -13,5 +13,9 @@
update_cache: true
become: true
when: ansible_os_family == "RedHat"
- name: print facts
ansible.builtin.debug:
var: ansible_facts
when: debug
roles:
- {role: "ansible_lza_install_common", become: true}
---
- name: "print ansible_facts for debugging purposes"
hosts: "*"
gather_facts: true
tasks:
- name: print facts
ansible.builtin.debug:
var: ansible_facts
when:
- debug is defined
- debug is true
- name: "install generic base server"
hosts: "*"
pre_tasks:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment