Re: [ansible-project] yum module localinstall many rpms from directory possible?

2017-09-22 Thread Kai Stian Olstad
On 22.09.2017 02:00, daddyocruzer wrote: Success Some Learning Assumptions: === So, this section I think I kinda get - it sets up 'r' to iterate through the 'patterns' matches found beneath 'paths'. register: r register the output of the find in the variable

Re: [ansible-project] yum module localinstall many rpms from directory possible?

2017-09-21 Thread daddyocruzer
Success Some Learning Assumptions: === So, this section I think I kinda get - it sets up 'r' to iterate through the 'patterns' matches found beneath 'paths'. - yum: name: "{{ r.files | map(attribute='path') | list }}" This must iterate through

Re: [ansible-project] yum module localinstall many rpms from directory possible?

2017-09-21 Thread Kai Stian Olstad
On 21. sep. 2017 20:51, daddyocruzer wrote: Hello tasks: - name: yum local install yum: name=/sharedfilesystem/*.rpm state=present Our team has several environments that lead up to our production environment, so patches must be applied and tested in one environment at a time (as

Re: [ansible-project] yum module localinstall many rpms from directory possible?

2017-09-21 Thread Dick Davies
That's fine, look at with_items to get it all done in a single yum transaction. On 21 September 2017 at 19:51, daddyocruzer wrote: > Hello > > tasks: > - name: yum local install > yum: name=/sharedfilesystem/*.rpm state=present > > Our team has several

[ansible-project] yum module localinstall many rpms from directory possible?

2017-09-21 Thread daddyocruzer
Hello tasks: - name: yum local install yum: name=/sharedfilesystem/*.rpm state=present Our team has several environments that lead up to our production environment, so patches must be applied and tested in one environment at a time (as they exist at a specific version 'point-in-time')