Skip to content
Advertisement

Tag: ansible-2.x

How to get any command / task (ex: Ansible – Yum Install ) / stdout output i.e. Pretty print or Beautify / Lint aligned output

Ansible version: 2.8.3 or Any I’m using -m <module> Ansible’s ad-hoc command to ensure the following package is installed –OR– let’s say if I have a task to install few yum packages, like (i.e. How can I do the same within a task (possibly when I’m not using ansible’s shell / command modules): It works, but how can I get

Advertisement