44 ms·
Their point is not about how to pass in those parameters to the `package` task. They want to reuse the list of items as the value of the tags list, which they c
by Arnavion 6y ago
Their point is not about how to pass in those parameters to the `package` task. They want to reuse the list of items as the value of the tags list, which they can't without duplicating the list.
- crmrc114 6y agoOr they could define the list of packages as an array once? https://stackoverflow.com/questions/23507589/is-it-possible-to-set-a-fact-of-an-array-in-ansible https://stackoverflow.com/questions/23507589/is-it-possible-... Then just point the module to the array, like in the linked example. edit; Check out Spivak's solution in the comments below. Interrogate the host and find out what is needed, then apply the install- saves you all the time of getting back 'ok' results.