![]() ![]() test_ansible]# ansible -i hosts all -m yum -a 'name=ncdu state=present' The line I want to see in more linted/beautified way is: Loaded plugins. ![]() I want to ansible to retain a command's output in original format It works, but how can I get the output of whole yum operation in a nice output format (instead of getting a one line format with bunch of \n characters embedded in it) like what we usually get when we run the same command ( yum install ) on Linux command prompt. How can I do the same within a task (possibly when I'm not using ansible's shell / command modules): - name: Installing necessary yum dependencies I'm using -m 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. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |