![]() ![]() It may be that I'm just missing how to use just the "path" or item.path value below with yum later on. I'm trying at this point, to figure out how to pass yum only the data it needs from this series of find returns. The yum command cant handle the input, and errors out. you can download a package without installing it with the -download-only option. The debug section works, and gives me the output I include below. You can install Intel oneAPI packages via YUM, DNF, or Zypper package. ![]() Gather facts turned off to speed the many run attempts trying to solve this. name: get a list of downloaded patch files. The find works and seemed straightforward, however, its output is something I could parse easily at the command line, and have no idea how to handle it in ansible. The find module seems like it might be the answer, if I can implement it correctly. The with_fileglob appears to only work if you're matching against files on the ansible controller system, and not against files that are located on a remote system. The yum module will not take a /path/to/* wildcard type argument. I have several questions, being very new to ansible, but the big one is, how do I tell ansible to install these patches, preferably using yum, and retaining yum db integrity? My guess is that this playbook has plenty of problems, but it does work. I am not clear on how one tells ansible to install these patches later on. I modded it slightly to do a download_only. I've got a simple playbook for running yum update working.
0 Comments
Leave a Reply. |