Mapping a list of Debian packages in a specific order of 2nd list with Ansible
问题 I'm trying to map a list of files to a list of filenames. The goal is to install Debian files in specific order (base off the list of names). I can retrieve the list of files with a shell command and register them to a list. The goal is to generate a list of filenames in the order of my predefined name list. Then install them in that order. ms2Num.stdout_lines is the list of files from the shell command: # use List -1 to find the file names for the deb files.| grep - name: Find the needed deb