ShellHacks
Command-Line Tips and Tricks

ansible

  • Blog

Ansible Debug: Print Variable & List All Variables – Playbook

Posted on June 21, 2019May 19, 2022by admin

During Ansible playbook debugging it is useful to know how to display host facts or registered variables.

To print a message from Ansible playbook, as well as a value of a variable, we can use Ansible debug module.

In the examples below i am showing how to print particular Ansible variables and how to list all known facts and variables from Ansible playbook. (more…)

3 Comments

Posts navigation

Newer posts

Subscribe

  • Telegram
  • Twitter
  • GitHub
  • RSS

Online Tools

  • Base64 Decode
  • Base64 Encode

Tags

access-control anonymity ansible apache archive arduino argocd artifactory bash boot cmd command-line curl dns docker encryption git gitlab helm iptables jenkins kubernetes linux macos mail mikrotik mongodb mysql network openssl password pdf powershell python raspberry pi ssh sublime text telegram telnet text-processing tor tsm windows wordpress yum
  • Telegram
  • Twitter
  • GitHub
  • RSS
Privacy
Copyright © 2011-2025 | www.ShellHacks.com