When I run commands on my ansible 2.9 version on red hat 7 distro – The first command succeeds while second one fails. Is it related to special characters. My program automatically generates passwords, so just one time escape won’t help! NB: The BaSh shell also would throw some errors, if you try to pass that string with a tilde
Tag: ansible-2.x
Ansible Role – Multiple Local RPM’s Installation Not Working
I have an ansible role to install local rpm’s, and it’s downloaded in the files folder location. When I execute the ansible-playbook command it says “No Rpm found” Role tasks/main.yml Getting the below error message Give a suggestion on this plz Answer To install a package on the target system with an RPM file, it should be present on the
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